Heyyy
I guess the answer would be because of meiosis in meiosis this is because in prophase the two chromosomes cross over and the genes are mixed leading a random mix of characteristics. Mutations can also cause these differences so the offspring are different and not the exact copy as parents.
I hope this helps ❤️