Gazans not having access to clean water and electricity at the hands of an oppressor is going to radicalize people against that oppressor.
I would like to reduce the casualties of Palestinian and Isreali citizens as much as possible. To come down harder on Palestinian civilians for the actions of Hamas is to send more people into the arms of Hamas.
Learn from the actions of the US post 9/11. The increase in terror attacks against US civilians was a consequence of US foreign policy. Isreal is not trying to have a humanitarian presence. Isreali people are hurt by the consequences of these oppressive policies.
Again, I am not justifying the actions of Hamas. Discussing the reasons for their actions is not an endorsement. If you want to stop systemic issuess you have to look at the root causes.