There's a lot of prejudice towards the Turks. It's somewhat racist to call them the Mexicans of Europe, but they are such a substantial part of the poorest areas in many European countries. Particularly France and Germany. I remember in the 80s having so many conversations with Europeans who loved to point out to me how racist the US is, and I'm like, you realize you live in a completely homogenous country? You don't have a real idea what it's like to have vastly different cultures within your borders and the various power dynamics and natural tensions that come to exist because of it. And the ones you do are oftentimes huge flash points.
Well, now different parts of Europe are getting a taste of it, and they're alleged tolerance for other cultures as a collective hasn't always been the ideal they made themselves out to be. I'm not casting blame. We are very tribal instinctually. A lot of it is part of being human and requires a huge amount of conscious work to even have a chance at overcoming.
Then you have Greece. It's crazy both countries are in NATO. Erdogan just a couple of months ago was saber rattling with Greece over various disputes. That's always a regional powder keg. The Greeks aren't exactly going to be welcoming in Turkiye to the EU with open arms.
EU is like the hot girl who keeps telling you she's for sure going to go out with you if you just do this one thing. At some point if you don't want to be a sucker you recognize it's never going to happen. Frankly, I think that's exactly what happened with Erdogan, and a lot of his behavior over the last 5 years has been him pulling the rip cord on eventual EU membership. He's found a different path he wants to embark on, and shockingly enough, it's not always friendly to the West.