Again, Israel doesn't have the right to further endanger and kill civilians just because Hamas might be nearby, and then keeping it up until it causes over 2000 casualties, over 10000 wounded, hundreds of thousands of refugees, and destruction of vital infrastructure that the population depends on to live. And you can only say this is unavoidable if you don't want to move to a peaceful solution - and unfortunately, Israel has no interest in a two state solution, or even a one state solution, for that matter, as evidenced by its actions over the years.
Israel does give warnings and phone calls before it bombs a target with civilians nearby,Hamas being the governing body of Gaza supported by the population and their human shields makes it impossible for Israel not to harm civilians.
a peaceful solution requires both sides to aim for peace,and that is currently impossible.
Now, you can try and excuse this any way you want, Hamas or not, but you can't then ignore the consequences on the population that is forced to live under this regime, or how it serves to further radicalize it.
The Palestininans elected Hamas,even if some Palestininans dont like Hamas anymore they realy do nothing to show it. besides Hamas,that are dozens of other factions that co operate with Hamas. the more radical Islamic Jihad for example.
That seems like the right reaction to me - but don't forget the circumstances which serve to perpetuate the conflict, namely, the blockade and the occupation.
That,and the Palestinians not wanting to have any Jews near them.