Hamas actions are Iranian actions. Iran started this portion of the conflict on October 7th when its proxy military organization went into Israel for a rape-and-murder festival.
The only thing new here is that Iran is finally acting openly rather than waging a shadow war through its proxies. That is significant but it doesn't change the fact that Iran started it this time, back in October, using Hamas forces.
Hamas actions are not Iranian actions. That is just blatantly incorrect and false. Hamas and Iran have had many spats- they are not as closely linked as you just implied they were. Hamas = Sunni Arabs, Iranians = Shia Persians. They aren't exactly BFF's, there are serious tensions there and there continues to be a major riff between Hamas leadership and Iran over Iran's full-stop backing of Assad (Hamas strongly supports the Sunni overthrow of Assad) in Syria. It's more of the friend of my enemy is my friend type of situation.
And really, that is all besides the point. EVEN if Hamas were Iranian proxies to the level you just implied (they aren't) - it was beyond reckless for Israel to hit directly at Iran at their embassy compound in Damascus. Iran was
always going to have to respond to save face, and if Israel retaliates to something
THE ISRAELIS STARTED- and an attack from Iran that by the way clearly looks to me like Iranian leadership intended to fail (Iran gave 72 hr warning of a strike- who does this) - it could cause a much greater war to break out that the US could get dragged into.
And by your own above reasoning, that means the Russians should just go ahead and attack the US and start WWIII, since Ukraine is effectively a colony of the United States- a complete proxy wholly dependent on the United States giving it military intelligence, cash, loans, and
shitloads of weapons. Because whatever support Iran has given Hamas (and the evidence for that is minimal and full of contradictions) - US has given Ukraine 10000000000000x fold.
Said it before and I'll say it again, Netanyahu should've just drone striked himself. It was
HIS DECISION to give Hamas upwards of a
billion dollars over the years. Netanyahu has funded Hamas 10x compared to whatever scraps Iran has ever given them. Netanyahu and people close to him openly admit they've used Hamas to split the Palestinians and to prevent a two state solution from ever happening.