Suppose that there's a gene that makes you gay if you were bottle-fed but that has some completely different effect if you were breast-fed. So in the days before bottles were invented that gene would not have manifested itself as gay behavior, but now that bottles are common it can do so.