Reminds me of the CS problem: write a program which prints out its own source code. But way more impressive. How can a cell with a single strand of DNA 'decide' which copy of a gene is a mutation? Or do eggs just bias for sperm with more genetic differences?
These decisions interface via binding sites[1] which can be thought of as having "bias". [1] https://en.wikipedia.org/wiki/Binding_site
Basically it could be that the egg and the sperm have different proteins expressed on their cellular surfaces which go together like a lock and key and may also function as attractors ( chemical sensing or something).. all of this would originate from genes in the gametes.