The so called general Dostam a close ally of CIA in Afghanistan despite all the advertisements in his favor fled to Uzbekistan right after Taliban take over of Afghanistan. This guy and his close companions are the main suspects of forming ISIS in Afghanistan with CIA's intelligence and logistic aid.
According to media outlets and Taliban officials, ISIS-K is formed of a number of TTP (Tehrik Taliban Pakistan) and Sipah Sahaba and Lashkar e Jhangavi, wandering people affiliated with the Turkistan Islamic movement, as well as nationals of distant countries (from Europe and Southeast Asia, Turkey, Arab countries, etc.), it was estimated that there were between 5,000 and 10,000 ISIS-K active in Afghanistan. These terrorists, who were mainly active in the east (mostly Nangarhar) and the north (mostly Jawzjan), succeeded in defeating the Taliban at times and executed the Taliban prisoners in a strange ISIS way (by placing dynamite on the prisoners and blowing them up), but in Most of the times they have been defeated by the Taliban and pushed back. The important point in the wars between ISIS and the Taliban is that in some battles, the Air Force and the Americans have targeted the positions of the Taliban and actually helped ISIS. In the years 2015 to 2020, creating terror has been one of the main programs of ISIS in Khorasan. The ideological difference between the Hanafi Taliban and Wahhabi ISIS was and is the main cause of the conflict between these two groups. Naimul Haq Haqqani, one of the cultural officials of the Taliban, said in an interview: "The Islamic Emirate is intellectually and jurisprudentially different from Salafism and ISIS. We follow the Hanafi religion in Afghanistan, and we have no relationship with Salafism and ISIS. Also, Salafism and ISIS, they do not have a popular and important position in Afghanistan. Therefore, the Islamic Emirate is fighting with the so-called ISIS group in Afghanistan to avoid controversies and differences between Muslims and to ward off sedition and corruption... There is no doubt that ISIS in Afghanistan is an American phenomenon and a product of Kabul intelligence rather than challenges and they indeed are problems for the dear people of Afghanistan... America, NATO, and the Afghan government are behind ISIS to create problems in the jihadist affairs of the Taliban.