Your dog can bite someone anywhere at any time.
Even if your dog has never shown signs of aggression, something can happen that can trigger your dog to react with his teeth.
The child's parents could have sued for damages, and law enforcement could have chosen to euthanize Pebbles as a dangerous dog.