Well I think the situation is not as black and white as people think it is. Again, Islamically Attack civilians is prohibited under any circumstance, so yes Hamas even if they kill 20 or 50 civilians would be considered wrong, whether they fall into the trap of Israel or not time will tell.
A lot of people here are who supports Israel have no issue putting themselves into Israel's shoes to think, lots of Americans I talked to ask me what if Indians killed 1400 of your Pakistani civilians, what would you want Pakistan to do? my answer is always the same and have 2 parts..
1) I would want retaliation but a proportionate response, and will not support Pakistan Army or its response if its dropping bombs on Civilians just because Indian Military presence is there.
2) Anyone who thinks any attack happen in isolation is either navie or dumb, there is always a chain of events that leads to a big event, even 9/11 didn't happen out of nowhere but if you study there was many incidents (small) that all leads to that big attack, hence this 7th Oct attack was not a surprised or isolated incident, Israel has been bombing Gaza and building illegal settlements in WB for years, and no one including UN did anything about it, Hamas is seeing Gaza is attacked again and again and again, and they have to respond because if they don't that Gaza will not rally behind them, for Gaza and by extend Hamas there is no good option, they can surrender and still be killed or they fight back in that they will still be killed but with huge civilian price, Hamas and people of Gaza were put in that position by Israel and world to make such drastic measures to shook the world to its core, and guess what? They did just that... see how the world is now openly talking about Palestinian State.
My issue with people like you, Sammule and other who supports the Israel's bombing of Gaza and justifying it is that how can a human being with a heart and soul, can see the images of fathers and mothers bringing their toddlers in plastic bags in pieces, which can be avoided for sure and not condemn that Genocide, America fought to the tooth in Falujha going from house to house despite knowing that every house is booby trapped and yet they fought hard, they could've just leveled the entire city, America could bombed Abbotabad as well claiming a AQ commander their enemy number 1 is living there, and they send Special forces, there are many ways Israel could've responded to the Oct 7 attack but it all comes back to the same point, when will Israel address the incidents and events that all leads to Oct 7 Attack ? So far I saw nothing from Israel or America or UK, If a nobody like me can understand this simple fact than how can govt who got brilliant minds at their disposal with unlimited resources can understand that we need to fight a solution for this conflict and stop Israel from breaking International laws, stop them from illegal taking over land, indiscriminate bombings of Gaza, bombing of UN shelters or killing journalists or arresting young kids, the day when the world had enough of Israel and start treating them the same way they treat others, there will be no Oct 7's.