The dog probably thought.
"I can clearly see you're nuts"
A dangling stationary target was probably too much temptation for the dog. Especially when it resembles Sausage and Meat Balls.
I don't blame this one on the dog. He probably saved the officer from further injury.
Besides, the castration probably will help this guy calm down and maybe improve his singing voice.