If you have ever seen two dogs when they meet, they greet each other face to face, unless there is a massive size disparity. So, why are we surprised when that is how a dog wants to greet us? You come home from work and let your dog out, and they are excited to see you and excited to show you how much they have missed you. So they jump up on you to get closer and give you some love.
You shouldn’t stop this type of jumping. You need to diagnose your dog's issue and remedy that. If your dog is just stressed being in a new situation, you should calmly get them off of you, offer them a treat to calm them down, and have them sit politely beside you until their stress level has subsided (or take them somewhere else so that they can calm down if it is taking a while for them to calm down.) But most of all, please do not just ignore this behavior change.
Why do dogs jump up? A plausible explanation arises from their ways of communicating with each other. A puppy greeting an adult dog often licks the adult’s muzzle -- a polite, deferential behavior. Dogs, of course, descend from wolves, among whom muzzle-licking is how pups get the grownups to regurgitate food for them. Domestic dogs rarely nourish puppies this way, but muzzle-licking has survived, maybe because deferential behaviors are handy for a social animal. Think of humans saying “No, after you.” Muzzle-licking is also an appeasement behavior -- something you trot out to de-escalate a fight. A human might lift up his hands, palms toward the person he’s arguing with.