The police obviously are not tasked out with dealing violence. They stop violence and are certainly capable of defending themselves when necessary. In the US this line between defense and aggression is becoming blurred, but that's more of a deterioration of a society than the actual role of police.
And that blurring supports the point. As police face more regular violence, they themselves tend to become more violent, leading to even more violence against them, and vice versa. In countries where the police face no violence, they often are not even armed. Take for instance Iceland which may have an even greater percent of their population armed than the US (our per capita ownership rate is so high because many gun owners own many guns) - yet their police are unarmed. 2013 was a sad year for Iceland. It was the first year that their police fired a gun at a civilian, ever [1].
It always leads to sort of 'which came first the chicken or the egg' type question, but the point is absolutely clear that intolerance breeds intolerance in much the same way that violence breeds violence. And it's quite sad watching people fall into this. People don't seem to understand that nearly all the evil in this world is and has been done by people who felt they were the 'good guys.' "No no, it's different this time. We really are the good guys! History will prove us right!" Said everybody, ever.
[1] - https://www.csmonitor.com/World/Europe/2013/1203/Lots-of-gun...