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. When this scent is released it serves as a means for your dog to claim their territory. The most simple reasoning behind this scratching behavior is entertainment.