Female dog cocking leg to pee?

I dog-sat a friend’s dog who did this. Neutered female Brittany spaniel who had one litter before neutering. But she was pretty much an alpha bitch in many other ways. It did surprise me.

I also had a male dog who was neutered at about 4 months. He didn’t learn to lift his leg until he was around 4 years old, and then not always–hardly ever when he peed in the back yard.

My current dog occasionally goes up on his front paws to pee, I assume so it lands higher, so the next dog that comes along thinks he was a bigger dog. (I don’t believe he actually thought this out, I think it’s just his personality or maybe he’s trying to wipe out some other dog’s scent.)