Answer:
they migrated to other parts of the world. such as europe where it is very cold so over time they didn't need melanin because it wasn't necessary. the reason they had melanin in africa is so they didn't get burned by the sun but in cold places on earth it isn't necessary