I think there's an ethical difference between "we need to wage war on a densely populated area", and "we need to wage war on a densely populated area, let's make sure to harm the vulnerable people we encounter there". This is what I'm trying to differentiate between.
We won't know without analyzing protocols how Israel picks targets.
Also, harming civilians is the norm in modern world. Russia absolutely deliberately is targeting critical civilian infra in Ukraine (e.g. grid during cold winter).