The argument is made that Hamas puts its military installations in the middle of civilian infrastructure.
If this is so, it just means that the main priority is not minimizing civilian casualties; it's taking out Hamas targets. The IDF is willing to kill a high number of civilians if there's a chance of hitting Hamas.