Geo-politics is more complicated than you think. If hamas never fired rockets at israel than israel would not have any reason to divulge attention from peace. This is why they let hamas arms themselves, no doubt before the elections they will carry out another barbaric attack on the civilians of gaza.
10 arrested at Israeli Arab protest in Ramle (Haaretz)
from the article: Israel deploys Iron Dome missile defense system for first time