anyways, the blame for creating this situation does indeed lie squarely with the USA. They armed the anti-government militias in Afghanistan during the one time in that country's history when it had something resembling a progressive government. That government asked for Russian help when faced with reactionary insurgency, and when that help came, the USA fed and armed that insurgency, parts of which later merged to become the Taliban.
For a while the USA left the Taliban alone to get on with it, despite the fact that they were worse in every respect than what had gone before, and the USA only began to intervene directly in Afghanistan after 9/11. That intervention, in fact, was to do with the need to be seen do something about 9/11, rather than any desire to make things better for the long-suffering Afghan people.
The allegation the invasion was based on was that Afghanistan's Taliban government had knowingly hosted al Qaida training camps. Given the reaction of the Taliban government to the events of 9/11, it seems unlikely that they had anything to do with those attacks, and indeed they even condemned them, expressed solidarity with the American people against the people who did it!
had the USA used MORE diplomatic pressure rather than launching its suicidal and murderous invasion, there is little doubt that the Taliban could have been persuaded to drive Bin Laden and his mob out of the country. In fact, at the time of the invasion, they'd already started doing exactly that. The invasion instead forced the Taliban and al Qaeda to become bedfellows. How are al Qaeda going to be removed from Afghanistan now that they've got significant numbers of Afghans within their ranks?
http://findarticles.com/p/articles/mi_m0WDQ/is_/ai_80050524
Most of the 9/11 brainwashed zombies hailed from Saudi Arabia, not a country noted for having had the crap bombed out of it by the USA, but noted for having lots of oil.