Dogs greet each other by sniffing rear ends, which may feel awkward when they turn their attention to your crotch.
You can also teach your dog a polite greeting, like sitting or high-fiving, as an alternative to sniffing.
Positive reinforcement is key to encouraging good behavior and making everyone feel comfortable.

