One of the most popular reasons is simply for reasons of comfort. In the wild dogs will scratch to dig out an area as a sort of nest or den to sleep in comfortably. ... The sweat that is released from special glands on the bottom of the paws is a unique scent that is enhanced when your dog scratches at the ground or floor.