Sounds like he was playing with his gun at a party.
Been there - Seen that. My friend’s boyfriend. Guess he thought he would impress us (a gruop of friends) by putting his seemingly unloaded gun to his head and pulling the trigger. One still in the chamber though - not pretty. I’m just thankful no one else was hurt or killed. And of course there was alcohol involved.