OMG!! THE HUMANITY!!!
Of course this happened in a vacuum and had nothing to do with geopolitical realities following WWII. It was ALL about oil.
No, it was pretty much about oil, at least on the part of Britain. Look into it, the lid is pretty much blown off, there are plenty of books on it now.
from Wikipedia:
"Cold war
For the U.S., an important factor to consider was Iran's border with the Soviet Union. A pro-American Iran under the Shah would give the U.S. a double strategic advantage in the ensuing Cold War, as a NATO alliance was already in effect with the government of Turkey, also bordering the USSR.
In addition, even though the appropriation of the companies resulted in Western allegations that Mossadegh was a Communist and suspicions that Iran was in danger of falling under the influences of the neighboring Soviet Union, Mossadegh declined to change course under moderate international pressure"