https://www.cdc.gov/nchs/fastats/homicide.htm
You are comparing the number of gun deaths in 2 populations and concluding that the difference in total deaths indicates a commensurate increase in dangerous situations faced by officers. Your inclusion of gun suicides makes it extremely difficult to be charitable with your interpretation.
Greater gun suicides correlates with hopelessness and availability of guns not danger to officers and these deaths of despair are literally 60% of the gun deaths you are talking about! Half of the remaining were murdered by someone they know. Most of the remaining 20 not 100 daily murders seemingly random violent murders aren't really random they are criminals murdering other criminals.
Cops aren't overwhelmingly dealing with gang bangers they are overwhelmingly dealing with members of the general population and lots of low level offenders because that is what's out there. That is who they are murdering. They are murdering a broad swath of the population mostly not entirely focused on black people literally because they can get away with it.
Instead of pretending we can't look at the deaths in proper context we ought to analyze the deaths in their proper context. Although this is hard to do in a comment thread your reasoning is in this case worse than nothing because it gives one the false impression that you have a handle on it.
Please stop apologizing for murderers.
Edit: as such, I would remove the "because of" part of the last sentence of my previous comment, and leave the "strongly related to". My bad.