I recently did a piece on Blavity discussing the various factions now fighting for control over Afghanistan as the US withdraws its presence from the country. From the article:
Although the Taliban pledged to stop supporting al-Qaeda as part of the deal it struck with the Trump administration for American withdrawal, many sources believe the two groups still cooperate closely. Notably, a number of al-Qaeda fighters were among the thousands of prisoners recently freed from prison by the Taliban as they reasserted control of the country; ISIS fighters were also released. Thursday’s attack outside of airport in Kabul was likely an attempt by ISIS-K to both target Americans and their Afghan allies and to embarrass the Taliban by demonstrating that they are unable to provide security in the country.