Digging gets rid of energy, which is why many dogs will dig when they're anxious or bored.