A missile, not a rocket:
Video of explosion at Gaza City hospital, where hundreds have reportedly died
https://rumble.com/v3pxtms-video-of-explosion-at-gaza-city-hospital-where-hundreds-have-reportedly-die.html
Well I don’t know what weapons they had, but from the videos I saw a lot of tracer flares from a short burst of projectiles. Those could indeed be missiles in some sort of array or battery, but the Hamas generally shoots rockets - basically just steel cans filled with fuel and no guidance systems which sort of defines the difference between a rocket and a missile. I think of them like a string of bottle rockets with one long fuse igniting them in series (though that’s a very rough analogy) so they fire off in a series and gives the shooter time to run away before they fire.
And without guidance systems and without quality control builds and unpredictable amounts of fuel, fuel distribution, thrust and angle projections, it’s expected some of them will be quite erratic and land in unpredictable places or just blow up on the launch pad.
This was reported later to have been Palestinian Islamic Jihad, not Hamas, so maybe they have more sophisticated weapons systems smuggled in - missiles, vs rockets. In that case though it should have been more predictable. I would not rule out an intentional strike for PR purposes. It looks like it hit a parking lot, not the hospital itself... so maybe the entire thing is a PR ploy. But as I said they won the PR game early on since their narrative hit the wires first and the mass media ran with it as an “Israeli strike” which set off protests in the region.