Fouling and Urination

There are a variety of reasons for a dog to defecate in the home: over excitement; submission or fear (commonly seen in puppies); housetraining problems; marking for anxiety or stress; separation anxiety; drinking too much water; and/or medical issues. You can only reasonably expect a dog to do what you have taught him to do, so barring any medical issues as an underlying cause of inappropriate defecation, behavioural habits however well-routed can be broken.