It's not sexual. It's a dominance thing. Females do it too.
You should discourage it, because you're pup is trying to exert dominance over you (or the lamp post or whatever he's humping

), and you should be the alpha...
But it's nothing to be "worried" about medically at this age...