Hamas goes to the world "Help us, help us. Every time we fire a couple of hundred rockets into Israel they attack us." Well stop firing rockets into Israel!
Living things from insects to most humans understand that if you threaten the hive you are causing an increased risk that you are going to get stung by bees exercising their natural right of self-defense. Best not to disturb the hive. Leave it in peace. Try not to learn pain avoidance the hard way.
The quickest way to peace is to simply keep out of this and not stay the hand of Israel.