Owners have grown accustomed to their canines lifting their legs to mark trees and bushes during routine walks. The behavior is motivated by more than a mere need to urinate (and in some cases, defecate). It is a way to communicate territorial ownership. If it is only done outside, few owners would complain. The problem is that many dogs mark inside the home.