It is always unfortunate that people die during conflicts, even though such civilian casualties are not the primary target in most cases. Fortunately, in the current Gaza and Israeli conflict, Israel makes every attempt to limit "collateral damage" and reduce the number of "civilian" casualties. If they weren't making such attempts we would already have several thousand civilian casualties. However, especially when your enemies attack you from such populated areas, conflict and fighting will always result in "collateral damage".
It is extremely important to remember that governments derive their authority and power from the people that they govern. The people are the ones that are ultimately responsible for the actions of their governments.
Let's use the Palestinian people of Gaza as an example. It is very important to remember that the people of Gaza are far from innocent. It is the people of Gaza that voted Hamas (a known terror group) into their government. It is the people of Gaza that did not denounce Hamas for firing rockets indiscriminately into civilian populations. It is the people of Gaza that celebrated in the street when three teenagers were murdered. It is people of Gaza who did not protest that Hamas used what money they had to build tunnels to infiltrate Israel, purchase rockets and supplies to make more rockets instead of investing that money into schools, infrastructure, and economic development.
The people of Gaza are not just innocent victims, and every drop of blood is on their hands because they condemn themselves with both their action and inaction