The war reflects the pursuit by governments of policies contrary to their own interests, where wisdom is less operative and more frustrated than it should be.
The 2015 nuclear deal had given the IAEA full access to the nuclear activities of Iran, but Trump walked out of it in 2018 and re-imposed economic sanctions.
It does not appear that the judiciary or the legislative is either willing or able to correct the president, while only Trump can stop it in a war with worldwide consequences.