Yes. Israel had been sniping and bombing civilians alike all this time but no one batted an eye. But when Hamas conducted their own terrorist acts everyone lost their minds!
Why is Israel killing civilians? Would they be doing it if Hamas attempting to wage war while embedded within the civilian population? Do you think it's reasonable to expect Israel to just sit back and let Hamas continue to launch rockets into Israel and plot their next mass murder spree? There won't be any peace in Israel and Gaza until Hamas is stamped out. Hamas themselves have made that a certainty.