Lighten Up Francis....."as hostile and deadly...." a bit much.
Police are trained to face all interactions as if they could be hostile and deadly and it seems prudent to think about it the same way. By this I dont mean the LEO has any intention to do anything bad or even dishonest, they most likely do not.
But when the goal of the interaction is to find an infraction to punish you for that is hostile in nature. Keeping in mind with anything you say that they might use it against you if given the opportunity is prudent.
And the deadly part I absolutely stand by though likely was not intending like you think. Approaching any interaction law enforcement is looking for potential threats and for good reason. They have means and ability to very quickly react with deadly force to a threat. There is no other interaction short of with a criminal that carries this dynamic. There is no other interaction where if you unthinkingly reach somewhere that makes them feel threatened that you can be shot and have that be ok.
This does not mean be a dick to the LEO, in fact the opposite. Keep your hands in view, if hunting unload and keep actions visibly open. If reaching for a license tell them that is what you are doing etc.
For all you know when they stopped you they think you might look a little like a person they are pursuing and although you have no way of knowing this they are on very high alert. Then you reach for a wallet quickly and suddenly things are escalated.
Anyway, be overly polite and respectful, obey direct orders, be as unthreatening as possible, and do not consent to anything other than providing ID, license, etc. Most are great guys, some are not, you dont know which is which.