Why are some people African?
Because genes, you dummy!
Listen up, buttercup! The joke is stating the obvious: folks from Africa got their skin tone from their genes. It's so obvious it's not even funny, which is the point. But you probably didn't get it because you're denser than a black hole.