Cops are trained, and are supposed to learn how to handle a situation without pulling out their gun [].
I don't necessarily disagree with you though. It would be good for people to be able to walk at night with a bag of candies without getting gunned down. I don't think that 2 problems should cancel each other.
[] And I know I'm wrong when I say that. I remember another paper showing how American cops spend a disproportionate amount of time practicing with their gun as opposed to cops in other countries where they mostly learn how to handle situations without their arms.
But the fact remains that, for better or worse, every American by default has the right to shoot people with guns under certain circumstances. I am not a lawyer but I don't see a legal justification for limiting the ability of the police to defend themselves, without treating police officers like felons.
I believe that the role of "police officer" comes with the idea that before defending yourself you should be prepared to defend other first.
Civilians in the US often have this right, so why shouldn't the police?