Given these behaviors Russian forces would be justified in just carpet bombing these sort of areas that Ukrainian forces are entrenching, but they have chosen not to. By contrast that is precisely what Israel does, and also what the US does not only in WW2 but e.g. in Iraq and Afghanistan where killing dozens of civilians to get somebody who might be an enemy is considered a justifiable engagement.
And again this gets back to what I just said about this not even necessarily being about morality or ethics. Israel is in a vastly worse place now than it was on October 8th 2023, and it's unlikely things will be improving for them in the foreseeable future. Behaving good in war is simply in one's own best interest on any sort of timescale beyond the immediate.
[1] - https://www.amnesty.org.uk/press-releases/ukraine-military-e...