No, they are not. Animals cannot have or respect rights.
Owners have all culpability for their animals. The dog trespassed, had no collar, did not respond to words, behaved strangely, had no tags, and the town had no animal control.
The dog’s death is entirely on the owner.
I would fine the owner for all of this, including and legal bills involved for thr police.