Because Israel cares about their civilians and defends them at huge costs (Iron Dome), while hamas is happier the more civilian death happens on their side, as it’s free propaganda/media outrage for them - see human shield, starting rockets from civilian buildings, etc.