Sort:  

Why do they do that? When dogs kick after going to the bathroom, they are using the scent glands on their paws to further mark their territory.

may also be true as you mean.