Though relationships between people of different social groups was once common, there was a "transformation where most groups now practice endogamy," or marry within their group, said study co-author Priya Moorjani, a geneticist at Harvard University.