Population genetics

Before pesticide treatment, a rare resistance allele is present in a pest population. After repeated treatments, resistant individuals become common. Which explanation best accounts for this pattern?