Earlier quoted context omitted.
> Iran wasn't allowing inspections, That isn't what the International Atomic Energy Agency said https://www.washingtonpost.com/world/national-security/iaea-... At least before Trump started playing games Iran was in compliance
Sorry I can't view the article b/c of the paywall also because Jeff Bezos sucks. But the Iranians aren't stupid, they just moved the research to "military sites" and then denied access. Sometimes I think the UN and some of these agencies are run by people who grew up in very manicured gardens with their fancy law degrees and filet mignon and can't use their imagination to understand how someone might deceive them lol…
Iran signed the Non-Proliferation Treaty ages ago which put certain limits on what they could do. Other countries had growing concerns that Iran wasn't living up to that treaty, and those violations (plus some other stuff) resulted in a bunch of sanctions being placed on Iran.
Eventually Iran got a president who requested an international agreement that would ease both the sanctions Iran was under and the fears other countries had over their nuclear program. After lots and lots of negotiations they settled on the Joint Plan of Action which did a pretty good job.
I don't think Iran was being treated as all that special here and we'd see similar events play out if any country under the NPT started building up its nuclear program, especially if other countries thought that country was unstable/terroristy enough that the idea of them having a bunch of nukes was extra scary AND they also felt an agreement could be reached that would help make them less frightened.