It's becoming clear the safest way to interact with a cop is to literally treat it like a turn-based strategy game:
COP: "Show me your license and registration."
ME: "OK. I will show you my license and registration. To get my license and registration, I need to reach over into my glove compartment. Is it OK to reach over into my glove compartment?"
COP: "Yes, get it."
ME: "OK, I am reaching over to the glove compartment to get the license and registration."
And then move very slowly. It's unfortunate anyone has to act this way, but it's what I'd recommend to anyone these days. Do one thing at a time, clearly ask for directions and clearly convey you're following directions, and then slowly go about them. Rinse, repeat.
Of course, people have done this and still been shot to death. But I guess it gives you the best odds...
And then the cop still shoots you because they think you're getting your gun even after your conversation. Sometimes you just can't win.