The difference is, hamas attacks out of hatred towards Israel and Israel attacks to destroy outposts of a terror organisation. Hamas intentional uses hospitals and schools as an outpost to use as a propaganda tool.
I agree civilian casualties are always bad, but you have to accept that Hamas has the goal to maximise them, even on the Gaza side - otherwise they would loose support.
Where do you find that they are indiscriminate carped bombed ? It’s mostly the other way around. And fun fact. Most of hamas‘s rockets land in Gaza, as they are shit. This kills civilians or injuries them in Gaza. And they get free healthcare in Israel. But Israel are the bad guys, I guess