I've recently learned that the Fatah (Mamoud Abbas being the palestinian elected leader) and the Hamas are rivals and there is violence between the two camps. Iran also have a lot of influence with those affairs.
When you have insurgents who hide into the population, it becomes quite problematic. At some point, Israel might want to make palestinians understand that as long as they consent to be human shields, and as long as they agree with people launching rockets from civilian places, it won't prevent them to bomb civilian buildings where terrorists hide.
Israel wants Palestinians to not tolerate rocket attacks. As long as the Hamas aims rockets towards citizen, it's hard to argue that Israel shouldn't counter attack when the Hamas is using human shields.