otherwise the cost to Turkey would be at least as high that for Israel. And this has more to do with Turkey's realignment away from the West after it had been rebuked in its attempt to join the EU. Erdogan is taking Turkey on a path of confrontation with Nato and the West.
Report: Palestinian, 18, killed in clashes with IDF in West Bank (Haaretz)
from the article: Israeli minister hits back: Erdogan is the enemy, not Turkey