The gun isn't there to be used against you unless you're going to be violent. The gun is there because they can never be sure when someone might become violent.
It is not a crime for anyone to ask me for my wallet. Nor is it a crime for anyone to tell me they will shoot me if I attack them.
It appears I can simply walk away. Neither crime nor violence will have occurred.
A crime occurs when the robber threatens to shoot me unless I comply with demands he has no right to make.
On the other hand, an IRS agent telling you to pay your taxes has every right to demand that you pay your taxes, and will never threaten to shoot you if you do not. He will threaten to shoot you if it looks like you're about to physically threaten him.
But, more importantly, it seems to be that your point is that crime is not a crime as long as it appears to not be one. As long as a robber asks and I cooperate, it's not a crime. As long as IRS doesn't use force first, it's okay to steal things from me. I don't agree with that. What right on earth does anyone have to take away from me the money I honestly made? Who gave anyone this right? Why should I comply except for the reason that if I don't, they will make my life difficult and will still manage to take things away from me? I haven't stripped anyone off their money, I created value and sold it to people who were willing to buy. Explain to me: why does anyone have the right to take money from me?
He takes away things that aren't rightfully his.
The robber has not performed services for you. He hasn't maintained your street, educated your children, or ensured the safety of your food. He's not saving for your retirement or using your money to create a social safety net for those in need. You don't owe him anything.
All US citizens benefit from government services in some form. If you'd like to opt out, you are free to move to Somalia and renounce your citizenship. But as long as you're living in a civilization, you have to help maintain it.
That is my point. By indicating you expect guns to be used, you indicate that you expect to be violent. At that point, you have surrendered your right to not be subjected to violence.