Hamas does not have the luxury to attack noncombatant men, women, children, and babies, knowing a head of time that Israel is going to respond with overwhelming force.
Israel is a legitimate Country for 75 years, and Hamas is a terrorist organization who has vowed to destroy a member state.