Veterinary professionals must determine whether an animal’s unwanted behavior is rooted in a medical condition or a psychological issue.