Hamas purposely places itself in civilian areas to use locals as human shields. To nutralize Hamas' threat to all civilians, Isreal has to risk harm to civilians.
After Hamas attacks Israel, and Israel defends itself, Hamas uses the unfortunate deaths of civilians, especially children, as anti-Israeli propaganda.
Hamas doesn't give a damn about Gazans. Hamas is an asymmetrical warfare unit of the Iranian military. Gazans are pawns in Iran's attempt to establish Iranian hegemony over the Middle East.
Hamas has missiles. Have they built schools, hospitals, power plants, water treatment plants, or anything else to improve the quality of life in Gaza? No. Hamas' priority is the destruction of Israel, not the governence of Gaza.
Gazans would do themselves a favor to rid themselves of Hamas. Then, maybe, life would be able to improve for Gazans. Gaza, are you better off now than you were before Hamas took over?
What would you do if the people below were your nextdoor neighbors?