The fault in your argument is there is just no plus side to bombing that school. There is only negatives and no positives.
I believe it was just incompetence.
The building, the school was in, used to be part of the adjacent compound and a valid target.
But the problem is, it hasn't been a target for years.
It was probably part of an old target list and this administration was so stupid, arrogant, and incompetent, that they did zero preparation, and just said, "Lets attack." and pulled all the old, un-vetted data out and acted on it.
AI or not, they bombed unverified targets.
They killed so many kids, with a single bomb, that Trump finally managed to outdo his personal record of child victims.
Fuck him, Hegseth, and every fucking American nationalist that voted for him.
Plus saying they intended to do it gives them WAY too much credit.