If this confuses you then you are extremely misinformed and operating on the ignorant notion that “radical Islamist” = “terrorist”. The Taliban never embraced terrorism as a tactic. Unless you’re so brainwashed that you think IEDs are terrorism. Islamic terrorism has almost exclusively been the domain of Wahhabists like Al-Queada and Islamic State
The Taliban is currently fighting Islamic State Khorasan Province, which is largely constituted of former collaborators of the coalition government. Everyone in the region would much rather have the Taliban as a neighbor than those genocidal freaks.