Doctors have figured out yet another reason girls are getting their periods earlier