There are divisions within the ranks of Taliban network. Competition means some factions turn to the Afghan gov and allies, such as USA, to survive the intra-Taliban conflicts. Other factions are sponsored by, or seek sponsorship of, other powers in the region such as Iran and Pakistan.