Not only is Iran justifiably angry at its attackers, they have no reason to trust a ceasefire would be respected, and, furthermore, despite damage taken, stand to gain quite a lot if the war progresses as it has. Currently Iran is exporting more oil than ever before[0]. If the war continues as is they stand to emerge a much, much more dominant power on the world stage. Essentially being to BRICS what the GCC countries have been to the US (although much better defended).
Even the threats against their energy infrastructure can't really be backed up effectively. Iran has intentionally built its energy infrastructure to be highly distributed. Meanwhile Israel's infrastructure is highly centralized, with a small number of power plants providing massive proportions of the nations infrastructure. All this meaning that Iran can retaliate much more effectively the they can be harmed.
0. https://www.wsj.com/world/middle-east/irans-control-of-hormu...