Turkey has a unique geographic location of immense strategic value. There is a reason NATO bends over backwards to include a country that is culturally completely incompatible with the rest of the mostly European members and even openly attacking other NATO members like Greece. What you see now is heavy influence of China that wants to take complete control over Europe under the guise of something called the "Belt and Road" initiative with the heavy support of some European industrial leaders.
Assume that the leadership in Turkey is nothing more than a puppet regime fullfilling those interests.