Why does a dog do this?

I have many times observed while taking our pet outside to do her daily business that she will wander if you will. She will act as if she is going to pee or defecate in a place and then stop move and do it again. She may do this half a dozen times before allowing herself the relief she is after. Male dogs I... show more I have many times observed while taking our pet outside to do her daily business that she will wander if you will. She will act as if she is going to pee or defecate in a place and then stop move and do it again. She may do this half a dozen times before allowing herself the relief she is after. Male dogs I understand are out marking there territory urinating every pole and fire hydrant. They are not as bad however in some ways they are. What are they looking for or is there a smell that triggers them to go. It is obvious their bladder and bowels are full.
3 answers 3