When he gives up and stands still (staring at you like you’ve gone crazy), THAT’s when you greet your dog and give him some love and attention. This is the reward he was looking for. Following these rules will ensure he learns that he will only earn that reward by not jumping (don’t overdo the high-pitched voice saying, “GOOD BOYYYYY” or it will just rile your dog up even more to start jumping again).
However, when we are standing or sitting in a chair and they come bounding over to greet us, jumping up on us and trying to reach our face, we must not bend over and exchange hugs and kisses. If we do we are training and rewarding the puppy for jumping up. Eventually, most of us decide we no longer like our puppy jumping up to say hello - usually when the puppy gets bigger and more rambunctious. What used to be cute is now obnoxious and even dangerous if the puppy is jumping up on children or the elderly.
If a dog is stressed or afraid, their demeanor and typical behaviors will change. If you see this in your dog (or really any dog you know) you should step back and check on your dog. Are they hurt? Did a new dog come around they don’t know? Has the weather changed? Is it hot outside? When was the last time they had a chance to go outside to pee or poop?