Its less about the fact they can but diplomatically it would be an immensely stupid gambit by Iran since most of the international community sides with them concerning this tiff with the US. It would erase the side deals they've made with the EU and other countries since Trump tore up the agreement, etc. It would be a dumb move just to 'save face' when the US did it as an act of desperation and would make them an international pariah again while now its just the US that doesnt like em
I admit that some of the geopolitics elude me, but there must be some reason beyond what was shared. The ambassadors in the Southern African region since Trump's term started have been less diplomatic about certain things. And perhaps a wrong button has been pushed. Whether that is just cause for Iran to risk it all is another issue, or it's just misinformation all around.