Dogs have smell glands on the bottom of their feet, just like cats and several other four-legged animals, and these glands release a unique pheromone. Your dog may scratch at anything to let others know they have claimed a particular bed.