This dog behavior is a way to mark their territory. ... When a dog kicks the ground after defecating, they are releasing pheromones onto the ground. In addition to the scents from feces and urine, these pheromones relay territorial claims, sexual availability, possible food trails and warnings of danger.