Huge tactical error on Baghdadi’s part. He thinks the Kenyan cares. Now he will have to fight the Iranians.
I think Baghdadi knew that he would have to fight the Iranians for Baghdad, and is prepared to do so. He wants Baghdad as the capital of his new Islamist state for symbolic as well as practical reasons. I suspect that the Kenyan is prepared to assist him in this endeavor for the same reasons he was covertly assisting him in Syria: the Kenyan wants to see an a Sunni Islamist state established, and having failed in Egypt sees this as his best opportunity.