Natural selection favors G6PD deficiency as compared to malaria
Individuals in which the G6PD deficiency is common live in areas where malaria is an epidemic problem. Natural selection, a process which selects traits favorable traits out of a species' gene pool, will favor the individuals with G6PD deficiency to survive as they will not be affected by malaria. Their immunity to malaria will help these individuals pass on their genes better, meaning the gene for G6PD will become common, as is the case.