A population that has been isolated, especially a smaller one, could have a high level of homozygosity and therefore not a lot of genetic variation. Gene flow between such populations can increase the level of heterozygosity, and therefore up genetic variation.