If they can't actually identify a gun as a gun, why are they engaging?
When you have a deadly weapon in your hand, and you are scared and trained to see weapons, not cameras, then what you see is an enemy target with a weapon.
Similar mechanism at work.