https://imgur.io/gallery/IzEWU8o
The UK (and US) overthrew Mossadegh and Iran's parliament in the 1950s and installed a dictator (who the US had to beg to come to Iran at one point, the diplomatic record is now open). They got the right wing mullahs as support (Mossadegh gave women the right to vote) and the CIA worked with the SAVAK secret police to wipe out the secular left. Finally towards the end of 1970s Iran threw itself off the boot of imperialism, but as the CIA had wiped out the secular left, the patriotic moves came from the mullahs the US had backed (and bazaari merchants too).
So Iran throws off the boot of imperialism, and suddenly the US can decide it won't let Iran develop nuclear power any more (but no such rule for the orthodox Jews making the aliyah to west Bank settlements, they can have not just nuclear power, but weapons).