For what reason would they attack a single school? Some strikes being well some doesn't mean others can't be mistaken.
Same reason they're attacking universities, medical research labs, power stations, bridges, hospitals, paramedic teams, civilian rescue teams...
From the Wikipedia article...
For planning Operation Epic Fury, the US military utilized the Maven Smart System, an artificial intelligence software designed to streamline the targeting process and greatly reduce the amount of personnel involved in it. Capable of producing 1,000 target packages in one hour, with the use of the system the US military said it had struck 6,000 targets in Iran during the first two weeks of the war.
...it goes on to say...
The [NYT] inquiry suggested that the school was likely targeted due to outdated coordinates provided by the Defense Intelligence Agency
Advanced rockets bolted onto mainframes guided by data from Palantir.
> For what reason would they attack a single school?
Couldn't it be to terrorise the other side while still being able to claim that it was a mistake? Remember that the school was hit by three distinct strikes.
Some Israeli’s believe that they should kill the children of their enemies:
https://www.motherjones.com/politics/2023/11/benjamin-netany...
“Do not spare them; put to death men and women, children and infants, cattle and sheep, camels and donkeys.’”
Maybe an extremist Israeli put together that particular target list?