In this case they were using very expensive munitions which go exactly where they were targeted to go; they were not using cheap, dump bombs which have a wide margin of error.
The maps could be outdated, intelligence may be flawed etc. In a hot war collateral casualties are secondary to the military objective. You try to avoid civilian deaths but that should be on best effort basis.