in WW2 there were incidents of entire companies being wiped out due to faulty bomb drops
Even killed an American General.
During Operation Cobra, the American offensive push south from western Normandy, bombs from the U.S. Eighth Air Force landed on American troops on two separate occasions.
On 24 July, some 1,600 bombers flew in support of the opening bombardment for Cobra. Due to bad weather they were unable to see their targets. Although some were recalled, and others declined to bomb without visibility, a number did, which hit U.S. positions. Twenty-five were killed and 131 wounded in this incident.
The following day, on 25 July, the operation was repeated by 1,800 bombers of 8th Air Force. On this occasion, the weather was clear, but despite requests by First Army commander Gen. Omar Bradley to bomb east to west, along the front in order to avoid creepback, the air commanders made their attack north to south, over Allied lines. As more and more bombs fell short, and U.S. positions again were hit, 111 were killed and 490 wounded. Lieutenant General Lesley McNair was among the dead, the highest-ranking victim of American friendly fire.