Back then, the US encouraged Islam as a bulwark against communism. Its allies in the Middle East, especially Saudi Arabia, justified US influence on the grounds that Americans were Christian and thus part of the Ahl el-Kitab (the people of the Book).