Still, Erdogan's resolve to visit the Horn of Africa nation so soon after the deadly attack has only heightened his popularity. He landed at Mogadishu airport on Sunday morning and was greeted warmly by Somali President Hassan Sheikh Mohamud.
The fact is, Erdogan has done for Somalia what no other world leader has done in decades.
In August 2011, when Erdogan was still prime minister, he ignored the prevalent narrative of Mogadishu as a no-go zone and flew in with his family, senior cabinet members, and representatives from non-governmental organisations and the business sector.
His visit was the first by a non-African leader to the famine-hit Somali capital in two decades and came during the holy month of Ramadan to stress that Ankara was not going to abandon "their Muslim brothers and sisters".
Read more at Al Jazeera