I only wonder, when all Ham's children are black, why the Egyptians are white and look like the people in the East.
And besides, the Egyptians live in a place where it is on average hotter than in many places of Africa where black people live.
The reason is very simple... the Bible stories are metaphors and allegories. They are not historical or have any basis in genetics or biology.Your confusion stems from taking the Bible completely literally in the face of mountains of archaeology, anthropology, geology, and genetics to name only a few sciences. There are no other reasons why Ham's or Shem's, or whoever's children look one way, the Egyptians, Sudanese, Sub-Saharan Africans look differently.