Earlier quoted context omitted.
True but irrelevant. Cavities begin showing up in the historical record several millennia before the advent of candy and soda.
If nothing else, dogs and cats get cavities and they're not eating a gallon of coke or a bucket of M&Ms...
Most cats and dogs are eating carbohydrate rich mass produced pet food made by a very familiar privately owned chocolate company.