Tangentially related: In 1988, Iran Air flight 655 was shot down by an American missile cruiser, killing 290 people. It was likely due to a UI problem with the aircraft tracking system on the cruiser that reused an ID number from a potential enemy fighter aircraft.
https://en.wikipedia.org/wiki/Iran_Air_Flight_655