Listen at the sound of the JDAM arriving onto the first target at 0:17 and compare to the sound of the weapon (not rocket, btw) arriving at the Gaza hospital.
https://www.military.com/video/operations-and-strategy/air-strikes/top-10-jdam-strikes/4330525181001
https://www.wsj.com/video/footage-shows-moment-of-blast-at-gaza-hospital-compound/35419A2B-882F-432F-8A2B-7C53C36BDE1F.html
If it looks like a JDAM, sounds like a JDAM, damages like a JDAM, then it might be JDAM. Who has JDAMs over there? Have they ever attacked schools and hospitals before, denied it, then got found out?
Naw, it was certainly some unguided rickety-assed pipe rocket with a few kgs of C4 with a contact fuse* and most certainly not a sub-meter guided munition with hundreds of kgs of RDX and a timed penetration fuse.
*which to date, if they hit anything, make a small crater, blow up a car or two, or knock out a wall to an apartment …