The pattern across both Israel's strikes in Gaza and the US strike on the Iranian girls' school is the same: complete disregard for civilian lives.
In the case of Gaza, Israel used an AI system to automatically identify tens of thousands of Palestinians who might be somehow related to Hamas. Then, it identified where they lived, and bombed their homes at night, when they (along with their families, and everyone else who lives in the building) were most likely to be at home.
Keep in mind that Israel considers anyone involved with any part of Hamas in any way to be fair game: police officers, civil servants who work in any part of government in Gaza, people who work for charities run by Hamas, etc. So the targeting is incredibly wide, which is why the casualty figures in Gaza are so high (over 70,000 documented deaths, nearly 20,000 children documented as killed by the IDF).