Allele frequencies can change from one generation to the next purely as a result of chance: this is genetic drift. Drift has more dramatic effects in smaller populations than in larger ones.