Innocents get killed in wars, especially when they are being used as human shields. You only have to look up Rule 97 Human Shields of the Geneva Conventions.
Article 28 of the 1949 Geneva Convention IV provides:
“The presence of a protected persons may not be used to render certain points or areas immune from military operations.”
Convention (IV) relative to the Protection of Civilian Persons in Time of War, Geneva, 12 August 1949, Article 28. Additional Protocol I Article 12(4) of the 1977 Additional Protocol I provides: Under no circumstances shall medical units be used in an attempt to shield military objectives from attack. Whenever possible, the Parties to the conflict shall ensure that medical units are so sited that attacks against military objectives do not imperil their safety.