Two events totally unconnected.
The Kurdish people in Turkey want an autonomous country. It is a conflict similar to the British/IRA conflict in Ireland.
The terrorist attack in Africa is a terrorist group trying to destablise the country and kick off a civil war, which they can exploit. This tactic worked in Iraq and Libya.