The US signed the UN Charter in 1945, agreeing to abide by all the Security Council resolutions (since the US had a veto power, and how could something be so obviously good for the US one day that they would allow the resolution and then somehow become bad for the US later???).
Then President Obama got Iran to sign the Joint Comprehensive Plan of Action (JCPOA), an agreement that, if Iran allowed UN inspectors to verify that Iran had absolutely no Weapons of Mass Destruction (WMD) the US would end all sanctions on Iran, sanctions applied in 1980 that reduced the Iranian economy by half.
We had seen this before: President Clinton put sanctions on Iraq that blocked just about anything and everything from being sold to or bought from Iraq, and hundreds of thousands of Iraqis died from lack of food and medicine, with the promise that all sanctions would be lifted as soon as Iraq had UN inspectors verify no WMD, and as soon as those UN inspectors verified no Iraqi WMD, President Bush, Jr. ordered the destruction of Iraq, with hundreds of thousands more civilians killed and all the Iraqi government executed. And, of course, Iraqi oil was returned to the rightful owner, the US, with a little of the oil given to the UK for helping.
Then President Bush, Jr. put sanctions on Libya with the promise to lift the sanctions as soon as Libya had UN inspectors verify no WMD, and as soon as those inspectors verified no WMD, President Obama and Secretary Hillary sent the US, UK, and French military to kill Gaddafi and get all the US oil that Gaddafi had been stealing returned to the US, then President Obama generously gave a little to the UK and France for helping get rid of Gaddafi.
Then President Obama offered to lift all the sanctions on Iran as soon as UN inspectors verified no WMD, and this promise was named the JCPOA and was passed by the UN Security Council, so the US was legally treaty-bound by the JCPOA no matter who was elected president. The basic idea was that, once UN inspectors verified that Iran had no WMD, President Hillary would completely destroy Iran, with all Iranian oil going back to the rightful owner, the US.
Only St Hillary lost the election, Trump won, and President Trump said the US are not bound by silly things like UN Security Council Resolutions.
Before Trump, the US always followed UN Security Council Resolutions, since the US had a veto, so the US never allowed any Security Council Resolution to pass if it were not in the interest of the US. Only Trump figured a Security Council Resolution that was in the interest of President Hillary was not in the interest of President Trump, so, in 2018, President Trump withdrew from the JCPOA, UN Security Council Resolution notwithstanding.
Sanctions on Iran continued, but Iran can feed themselves and make most essential medicines, so the US sanctions didn't kill very many Iranians, only a few with rare but treatable diseases where Iran could not buy or produce the necessary medical items.
And then, in 2021, when President Biden was in office, the sanctions on Iran ended. Not through any fault of President Biden (who had no idea what was having his name autopenned on it), but the small group of US Navy Corvettes enforcing the sanctions found a huge fleet of oil tankers accompanied by a sizeable fleet of Naval Frigates, and the US Corvettes had no choice but to allow the fleet of oil tankers to pass unmolested or the Corvettes would have been toast, and the Commander of the small US fleet that had been enforcing the Iran sanctions made the only prudent decision. So the oil tankers filled up with all the oil Iran had available, after unloading whatever they were using to pay for the oil. Most international transactions take place using SWIFT, which the US blocked for Iran, but the buyers figured a non-SWIFT way to pay for the oil, and this continues to this day. So the US sanctions on Iran aren't up to much any more.
Israel wants Iran destroyed, but no one has a clue what would happen if Israel or the US or Israel and the US attack Iran.
Israel have attacked Iran several times, and Iran have retaliated. Israel say their attacks did major damage, while the Iranian attempt at retaliation was completely destroyed by Israel, the US, UK, France, Jordan, and others before any of it could hit Israel.
Iran say the Israeli attacks did little damage while the Iranian retaliation did major damage.
Neither Iran nor Israel have allowed unbiased inspectors to verify how much damage was done, but we do know that an Israeli strike killed 89 attendees at the 2024 memorial service for General Suleimani, who had been killed by the US in January, 2020.
So Israel have been able to kill Iranians with little difficulty and no effective retaliation, but Iran is said to have weapons they haven't used because they do not want a large war, but if Israel or the US engage in a strike that does major damage to Iran, then Iran claim to have weapons that can do major damage to Israel and the US military bases in the Gulf countries and maybe the oil producing facilities in the Gulf countries, and Iran claim they can close the Strait of Hormuz.
Is the Iranian threat real, or just an empty threat? No one knows at this point, not even Iran. Maybe the US and Israel and Friends can completely stop the Iranian attack, and maybe they can't and the attack will do major damage to the US and Israel.
So the real question is, Do Israel and/or the US really want to find out?
But it's a little more complicated than that.
The Fleet of oil tankers that have been filling up with all the oil that Iran can sell is only a small part of the Fleet of oil tankers that also buy a lot of Saudi oil, enough Iranian and Saudi oil that the owner of that Fleet could order Iran and Saudi, enemies for at least 40 years, to become BFF overnight, and they both said, 'Yes, Sir.' Saudi even sent a major diplomat to an Iranian event, and there isn't the slightest sign of that 40 year conflict.
That country will be very annoyed if the US reduce their supply of oil. They have, by far, the most cars of any nation in the world and need more oil than any other nation. And they have the world's largest Naval Fleet. And they will also be very annoyed, along with the Iranians, at any attack on Iran,
The US also want to stop all Russian oil sales, so Russia might figure it's in their interest to stop the US from blocking Iranian oil sales.
WWIII anyone?