These changes are driven by natural selection, where beneficial traits become more common in a population, while harmful traits may disappear.