Note that I'm not a fan of Israel, condemn their genocide in Gaza, and consider Netanyahu a war criminal. I'm also not a fan of this attack on Iran and prefer a peaceful and democratic overthrow of that regime. But calling the attack unprovoked is not entirely correct; Iran spends a lot of time provoking Israel.
For one, Balfour's illegal concession of Palestine to the Israelis had the clear strategic purpose of keeping pan-Arabism at bay. The ensuing establishment of Israel - by the UNSCOP, in contravention of international law - had the side effect of turbocharging settler colonialist violence (1948 and ongoing) and expansionism (e.g. 1967 annexations).
That was the background to the 1953 CIA coup, and the eventual Islamic revolution in 1979. Sure, it's not the liberal democratic outcome Iranians would've liked, but it reclaimed sovereignty lost, and they are aware of the historic role of Israel and their strategic and moral position in relation to it, regardless of their regime.
Bottom line, if we look closely at who really is threatening whom, the reactions of the Iranians are probably quite understandable
No shit the result of 1979 is not what the Iranians wanted; there have been frequent democratic uprisings since then. Most Iranians didn't really care one way or the other about Israel, although you can't really blame them for not liking the US. And Israel has never really had an issue with Iran. But it's the ayatollahs who have been extremely hostile towards Israel, and have spent decades funding Hezbollah attacks against Israel.
I'm not going to defend Israel; they've committed plenty of crimes. And war crimes. But almost entirely against the Palestinians, not against Iran.
The Middle East is complex, and there's no simply good vs evil there, but the ayatollahs are definitely not on the side of good.