Sister chromatids are identical while homologous chromosomes are merely similar.
They are different because they separate the cells and then they become babies but only the homologous chromosomes do.
During cell division, more specifically during meiosis.
What occurs as a result of independent assortment of homologous chromosomes is Chromosomal crossover, leading to recombinant chromosomes.