https://en.wikipedia.org/wiki/United_States_involvement_in_regime_change
The trust in the Arab world has been going on for decades. Dictators like the Shah of Iran, Muammar al-Gaddafi, Saddam Hussein, Africa and Indonesia. Again, the lack/cut off of support to these regime (s)' change, was due to elections in the US when new presidents decided to change their foreign policy, leaving a lot of US backed individuals hanging from the trees literally or shot dead. All because the US decided to pull their support. So in the Muslim world, the US became the "antichrist" for the Muslim world. Since the 1980s terrorist organizations' goals were to hit the US. And that is why 911 happened and the invasion of Iraq and Afghanistan happened.
Today in Afghanistan, the Tailban came back so quick, because the US follows a certain amount of "rules" ie. no genocide, no religious persecutions etc. The Taliban hid in broad daylight, with 5 column soldiers in the new recruits for the new Afghanistan forces. Any one that could of been a leader for the nation was assassinated by rival warlords or the Taliban itself. With no acceptable leader for the various squabbling factions, the Taliban quickly came to the forward using terror tactics and running roughshod over widows and small children. Again its masked men making terror on their own people, denying the populace human rights for all.
One of the way the Taliban survived was in deep connected caves in the mountains. Napalm bombs or chemical weapons like Chorine gas or engine exhaust (CO2 -both which are heavier then air would sink to lowest point in cave system) could of cleared them out (depending on extent of the caves etc). Again rules against these tactics were in place.