On the other hand Iran is not very stable politically and a war can be the last straw and I think their political elite thinks very carefully how to retaliate, like showing the world they aren’t weak and at the same time not triggering more global war.
This doesn’t change the fact that Israel’s action was absolutely reckless and irresponsible, even towards their own population.