The objective of the IDF is to free the hostages. They will make an effort to minimize civilian casualties.
When a legitimate target is hiding among civilians, there are two possible responses:
- Civilized nations: "F%ck, guess we'll have to wait until they move"
- Non-civilized nations: "Collateral damage"
But they must achieve that objective even while know civilian causalities are a certainty
No "buts". Like it or not, defend it or not, that's what non-civilized nations do.