1.) Here's a list of Israeli attacks on hospitals in Gaza
2.) Here is a map showing how Israel built two legitimate military targets right next to the hospital
3.) If Iran had targeted the hospital, it would have suffered more damage than just a few broken windows