As someone with some familiarity with how these things work, I'm going to put this as plainly as possible:
Israel does not target hospitals. Ever.
IF it turns out that the explosion at the Gaza hospital was the result of an Israeli airstrike, the hospital was not the target.