It could be a sign of an underlying issue, like anxiety or a health problem. If you notice a sudden change in your dog's behavior, it's best to consult a vet.