This is an example of natural selection acting on genetic variation, favoring the best traits for survival.