In an experiment in a laboratory, a population of bacteria in a petri dish is exposed to an antibiotic. The antibiotic kills most of the population. However, a few bacteria survive and soon repopulate the petri dish with antibiotic-resistant bacteria. According to modern evolutionary theory, the correct explanation for this experiment is: