The only response available is to attack those attacking Israel. The danger is that Israel will start attacking civilians because they are easy targets, instead of attacking the guilty. Then Hamas starts to win.
Hamas says Egyptian mediation has restored calm along Israel, Gaza border (Haaretz)
from the article: IAF strikes Gaza targets in response to rocket fire on south