In the wild, canines such as wolves, dingoes and foxes may kick the ground after elimination for sanitary reasons. They are simply covering up the mess. But the behavior is also a way to mark territory. All dogs have glands in their feet that secrete pheromones, and a couple of backward scratches into the earth releases those chemicals.