Just a nit… XX and XY refer to a
pair of chromosomes, not a single chromosome.
The mother, being female, has XX chromosomes and can only contribute one type, namely X, to her offspring.
The father, being male, has XY chromosomes and can contribute one of two types, namely X or Y, to his offspring. If the father contributes an X, then the child will have an X from its mother and an X from its father, so the child will be XX (i.e. female). Similarly, if the father contributes a Y, then the child will have an X from its mother and a Y from its father, so the child will be XY (i.e. male).
Maybe the Y from Adam’s rib floated forward through space and time and became the source of Jesus’ Y… and the now-extra X from Mary floated backward through space and time and became the source of Eve’s second X

– i.e. the Law of Conservation of Chromosomes