Why does my dog run back and forth before pooping? Asked By: Genesis Kerluke. Date created: Sat, Feb 20, 2021 11:55 AM. Best answers. It serves as a way for them to mark their territory, and sniff out where other dogs have been before. While urine is the most common form of "communication", when dogs poop, pressure against the glands of either side of their anus can cause glands to dismiss a musky scent on their poop. Answered By: Dell Franecki. Date created: Sun, Feb 21, 2021 1:58 PM. FAQ ...