It’s absolutely the case that Hamas hasn’t sued for peace with unconditional surrender. (Or recognised that the hostages confer leverage on Israel, not themselves.) Both Hamas and Israel remain belligerents in this conflict until one of them withdraws or surrenders, that’s just how war works.
There are a lot of atrocities being committed in this conflict. But bombing a school that was used as a missile launch site really isn’t one of them.