Since when has Turkey had "traditional Western allies"? They've been trying to play all sides since even before their independence in 1923. The biggest reason the US tries to maintain good terms is because we have two Air Force bases there.
It's also one of israel's primary trading partners, despite its pro-Palestinian rhetoric. Hopefully this is the start of a change in its foreign policy, though I doubt any major changes will happen while Erdogan is in power.
It’s also one of israel’s primary trading partners, despite its pro-Palestinian rhetoric.
Turkey halted its trade with israel in May of this year. Only due to internal pressure most likely — and far too late — but better than nothing, and it is another sign that the country is looking more and more towards the rising east than the declining west even under Erdogan.