targeting homes may amount to prohibited collective punishment.
Palestinian armed groups in Gaza have launched scores of rockets into Israel since June 13, 2014. When fired indiscriminately or targeted at Israeli population centers – as these attacks seem to be – they are serious violations of the law of armed conflicts. Israel has conducted scores of airstrikes in Gaza, including attacks that destroyed five houses, one of which killed seven people, including at least three children. Attacks on the homes of fighters that do not serve an immediate military purpose – as, again, some of these seem to be – are acts of collective punishment, which the laws of war prohibit
Clic here link