Erdoğan probably got pissed off after watching his friends in the ISIS getting kicked in their asses by the Kurds (including the YPG and the PKK). The Turks have been killing the Kurds, and attempting to wipe them out as a separate ethnic group for many decades now. But this is not going to work. No matter how much they try to exterminate the Kurds, the Kurdish nation will survive.
Bryant, I think you got emotional way too soon into the debate. Kurdish question in Turkey is quite similar to Palestinian question in Israel, Albanian question in (formerly serbian) Kosovo or Chechnyan question in Russia. It doesnt have simple answer (as you seem to imply).
Turkey did not destabilize Syria or Iraq, that was United States. Of course, Kurds - locally best organized and motivated force reacted with uniting their own enclaves, emboldening in the process bulk of the ethnic group residing in Turkey (one of the leading NATO members).
Insisting that carving new state out of four nearby countries somehow magically solves all regional problems is simply naive and you should know better than that.
I am also quite disheartened by Erdogans conduct, however automatically accusing the "stronger side" of evil has became regrettable (not to mention hypocritical) custom of westerners.