Crossing over occurs when
A.) sister chromatids are pulled apart at the centromere during anaphase II.
B.) homologous chromosomes join together to form tetrads during prophase I.
C.) chromosomes are grouped together into new nuclei during telophase II.
D.) tetrads of homologous chromosomes randomly line up in metaphase I.