Wouldn't do that to a person, right? Why do it to a dog? The moment of danger (if there ever was one) was past, yes?
The dog was considered Unclean in the eyes of The State and the Prophet of the State needed to rid the world of the infidel canine.