Sadly war sucks ass.
If it was a command post then there must be a path for Israel to attack. It’s not like Hamas gets to use “one weird trick” to exclude their command center from being a valid target.
If Israel thought it was a military target, did every thing else right, but sucked up then it’s a sucky product of urban war.
If Israel knew it was really only a hospital and attacked anyway — then they are morally and strategically fucked. Rightfully so. (Kinda like how other countries have also overreacted to a terrorist attack and gone after the wrong target).
And of course the reality of all this probably doesn’t matters because a large number of people make up their mind first and from then on ignore and other intelligence even when it’s gathered.
Stop walking so loud. It’s making us mole people very very angry.