New clues about the origin of stellar masses