No reason they can't have multiple motivations.They (Iran) had to stop the Abraham Accords being signed. So Hamas was sent to the slaughter. Both start and be slaughtered.Hamas was also stuck between a rock and a hard place. Hamas existence is about conquering Israel and murdering all Jews in "the holy land". Eventually they'd had to make a move. Or they'd stop getting funding from Iran. And that's, pretty much, the only money Gaza had flowing into it. Something like what happened, was going to happen.
Sounds like conspiracy theory nonsense. I think the Iranian govornment is more sensitive to the internal stability of Iran and their own security. The Iranian people are revolting increasingly often, and now the economy has collapsed. I think it's more likely that attacking Israel is more a diversion away from internal conflicts. In standard fascist fashion the appeal to patriotism and hopes it will kick in to override the people's hate for the govornment. That's what I suspect is going on anyway. Iran is a terror state where the government is hated by the people and only stays in power through brutal repression. Extremely brutal repression. The moment they show weakness internally they're gone. They all know it.
BTW, I have noticed that, pretty much all media shared on Social Media has been altered to emphasize the message. No matter what the message. Never before has footage been as unreliable as now. I have a bunch of exile Iranian friends. I have noticed that they're often suckered in by wishful thinking clips. I think it would be hard for anyone to have an accurate objective picture of what it going on right now. There's filters upon filters upon filters. So much bullshit.
But I do agree about social media. Presume anything sensational is at least partially false.