Right, so far I’ve noticed that it does this when attempting to talk to NPCs, transitioning areas, and interacting with objects (first noticed it when using the elevator in the Saltuna Cannery).
I’m not sure if NPCs ever react to drawing your gun, but assume they may. Beyond that, having to constantly re-holster my weapon is driving me bonkers.