The goal of a terrorist organization is to spread terror.  It will take credit for all actions of terror in the Middle East even if it is not directly responsible.  Turkey has repressed the Kurds for years.  Might it be a Kurd?  Don't jump to conclusions.