Fun fact: apparently if you get your male dog neutered reasonably early (I guess before puberty hits) and before they see another male dog pee, they won't learn to lift their legs. My n=1 study confirms this is true; my little dog squats like a girl which is great because he can pee on an indoor potty and never sprays on anything.

Ooh that makes sense. I had a male who never lifted his leg. Unfortunately he became aggressive because my father hit him and had to be rehomed :( Hope he's doing okay now