@Builder,
The USA recruited, armed, and trained Afghan and foreign "mujahideen" to fight the Soviets and the Soviet puppet government in Kabul. And some remnants of those forces coalesced around bin Laden around 1988. I don't dispute that. But it's a stretch to say that the CIA "created" what we know as "al Qa'ida".
Quote:Toward the end of the Soviet military mission in Afghanistan, some foreign mujahideen wanted to expand their operations to include Islamist struggles in other parts of the world, such as Palestine and Kashmir. A number of overlapping and interrelated organizations were formed, to further those aspirations. One of these was the organization that would eventually be called al-Qaeda.
Wiki
It's difficult to see why the CIA would create an organization to specifically
"provoke the United States and the West into invading a Muslim country by staging a massive attack or string of attacks on US soil that results in massive civilian casualties." (wiki)
But it's not that difficult to see how the CIA might have formed an armed resistance group and subsequently lose control over it.