It occurs most commonly where tears moisten the fur around the dog's eyes or around their mouth where saliva wets their fur as well as where they lick their feet and forelegs.
This discoloration is caused by a chemical called porphyrin.
the actual cause of stains is the porphyrin in the tears and saliva.