Wizzlebiz is right. There are a few variables that play a key role in hermaphroditic traits. One being genetically prone and the other is environmental stress. Or.......both combined. The pollen can carry the trait if its genetic when pollinating and fertilizing a female plant but its not like a disease or virus that spreads through contact.