It's not confirmed but I agree it was very likely a US strike. An accidental one.
Assuming the US did not intend to kill school girls that is also not a war crime. You can certainly argue that this happened due to the US decision to go to war and claim the actions to not be moral (or illegal as some have stated). Others might argue that more harm would occur if no action was taken and that the action minimizes the overall harm (e.g. to the Iranian people or others).
You could also argue that attack was intentional. I don't think there's any evidence of that and I'm not sure what purpose it served if it was one.
It is difficult to extract the real purpose of most things about this war, if you're in the US, since almost every single part of it seems against the US' interests and public face.
You're probably technically correct and that the US didn't intentionally look in Google Maps for an elementary school and decided to destroy it. But did we really need to Double Tap it?
Timothy Snyder has an opinion about this: https://x.com/TimothyDSnyder/status/2040883546093436941?s=20
I'm not quite there yet.