Mutation. The allelic variations that make evolution possible are generated by the process of mutation, but new mutations change gene frequencies very slowly, because mutation rates are low.
Lactic acid is a byproduct of short-term cellular respiration do to exercise, but if you mean lactose, then it's just the enzymes, that your stomach produces