Dogs jump up to greet us is they typically do greetings to the face area. As our face, unlike another dog’s, is way out of reach for most dogs, they try to get up to that area as best they can, thus the leaping is intended to get them closer to the greeting area.
Most cures for jumping up used to involve corrections using various methods to make the jumping behavior uncomfortable for the dog.