Upon closer inspection it seems it's more a result of decreasing accident rates than increasing homicide rates although that is a factor lately.
https://usafacts.org/articles/how-many-police-officers-die-i...
https://usafacts.org/articles/how-many-police-officers-die-i...