Anxious dogs often work themselves up to the point that they pee or poop in the house, even if they are housebroken.
This is frustrating for owners and can cause damage to property, not to mention the unpleasantness of the cleanup.
Destructive behavior is also common with separation anxiety.