Are you saying that every militia and army use hospitals as a base from which to wage war? (e.g. firing rockets, artillery shells, etc)
Even roofs of civilians apartments, let alone reinforced structures such as hospitals, town halls, schools, etc if they can't use alternatives.
Even antique frontal wars used terrain to their advantage. That's why we wrote rules of engagement, but if the bigger powers themselves abuse them, how can you expect militias that have to carry guerrilla or urban tactics to stand by them?
BTW, The response came after texting the residents, distributing leaflets and annoncening in every way possible that the place is going to be bombed.
BTW (2), For years Israel avoided bombing dense residential areas, despite knowing the origin of those rockets.