Especially when you have, in your country, about 20% of muslim arabs, most of which being israelo-palestinians (i.e. palestinians with an israeli passport).
The last thing they'd want, in addition to fighting both Hamas and Hezbollah, would be an uprising of the israelo-palestinians who live in Israel.
It's of note that while there about 20% muslims in Israel, there's about zero jewish person in Gaza (there are some israelo-palestinian though) and zero jewish person in Iran. Or close to that.
The number of publication and jewish newspaper offices in both Gaza and Iran should also be food for thought.