The rate of police killings is vastly higher in the US than any other Western country. So something is going on there that is not a universal phenomenon.
Gun violence in the US is the symptom of very deep problems, you can't consider it just by itself while disregarding the societal issues being it.