Dogs that leak urine or pee when they are frightened, stressed or even happy to see their owners are generally quite submissive Dogs.
Submissive urination is the dog's way of showing that it is a very low ranking individual.
Such Dogs can also be nervous and lack confidence.