My theory is they had very complex genetics that eventually became worse and worse the more we inbred. Then don’t forget Noah and the flood, he just took his family.
Yes, we are all distantly related. But I believe that God made wives and husbands for the people that needed them until the genes were stretched out enough or smthn like that