The ‘monopoly of violence’ is a useful lens to use around things like this. Despite being less accountable than normal citizens for it, the state has monopolized violence to be acceptable for them to commit, but unacceptable for others.
The state will even often times will use violence to arrest or put down non violent situations or people as well. Like the student protestors, George Floyd and any number of other police killings we’ve seen.