I was always led to believe it was "submissive urinating"...
Kayla also does this and she does it every night when BF gets home. She's excited and happy to see him but she pees a little every time. My Border Collie used to do it too and did from being a small pup. Neither of them have ever been under threat or been harmed but they still do it.