How is the US able to instantly stop an attack from Iran but powerless when Israel attacks hospitals? - eviltoast

I’m missing something here. Admittedly, I’m making the assumption that blowing up hospitals is a bad thing to do.