It happens in every war since the invention of gunpowder...............
Actually it predates the invention of gunpowder by a long shot. In ancient Athens, one of the homicide courts handled cases where an Athenian citizen killed another citizen by mistake in a battle.