It was an errant malfunctioning Palestinian rocket, one of the thousands Hamas and Islamic Jihad have launched against targets in Israel but which the media do not report.
The number 500 dead is also phony. The claim was made almost immediately after the blast and just keeps getting repeated. There was no count. The place is in chaos. The missile exploded in the parking lot, not on the hospital.