In any case, the US did make (also in Iraq) an enormous concession to Turkey. Iraqi Kurdistan was not allowed to declare independence, despite clearly needing it and being an extremely loyal, reliable and effective US ally, something that cannot be said of any others in the ME lately. Syrian Kurdistan had to basically surrender to Assad to avoid a Turkish Attack. Again, the US totally had-faced a genuine, ideological ally... as a favor to Turkey.
These have been Turkey's primary concerns in those wars, and they got what they wanted.
My point is that they shouldn't have. The US is a powerful country. They were in a position to make these decisions ideologically, rather than transactionally.
I think Turkey's NATO membership should have come into question, when Erdogan clearly stepped back from "free/democratic."