Other risk factors include:

Anal glands, also known as anal sacs, are small pouches located on either side of a dog's anus. These glands produce a strong-smelling secretion that helps mark a dog's territory and communicate with other dogs. In healthy dogs, the anal glands empty naturally during bowel movements or when the dog is excited or stressed.