With the information given, I’m thinking he exposed the firearm by moving, or lifting his shirt or jacket. That move toward the gun is what got him shot.
Two hands in the air, while informing police you are in possession, verbally, would probably ended up differently.
Horrible training (of the cops) is what got him shot.