Yes, they helped to topple the secular, democratically elected government, but theocracy did not appear from nowhere. It was return to the ideology which reigned in the region for centuries. US toppled many governments, but not every time theocracies appeared. You seem to believe foreign involvement plays stronger role than beliefs of the locals. When US entered Afghanistan, guess what - a democratically voted constitution based on Sharia appeared as a result.