In a population of ladybugs, a change in DNA of the offspring of one bug produces entirely black bugs. These bugs are more successful in escaping predators. Overtime, this gene becomes more frequent in the population, and the ladybug population loses its red color allele. What type of evolutionary mechanism caused the change in the population?
A. gene flow
B. genetic drift
C. artificial selection
D. mutation