The researchers suggested that male hormone exposure in the womb during fetal development may influence both traits.