Was it an accident? Presumably when a soldier identifies a threat it's because the threat is holding some kind of weapon? Or was he playing with his gun like a li'l cowboy?

Clarify for me please.