Racism affected his childhood a lot
Undoubtedly, Malcolm X's advocacy was influenced in some way by the bigotry he encountered as a young man. When the Ku Klux Klan threatened the family in their Omaha, Nebraska home, his mother was carrying him. Long before he was even born, it all started. They shouted out to his Reverend father, who had initially endorsed Marcus Garvey, a black nationalist.
Malcolm X's family moved to Milwaukee and then Lansing as a result of a KKK incident in which members shattered the windows of his childhood house. This was useless since Michigan's bigotry was greater; a crowd set fire to the family's home while the all-white first responders did nothing.
The family suffered a great loss in 1931 when Earl, the patriarch, was found dead next to the streetcar tracks. Although it was believed that the white nationalists who threatened to kill Earl were responsible, the police presented the killing as an accident. As a result, Earl's substantial insurance claim for the family was unsuccessful. Louise, his mother, couldn't bear the sorrow and spent the following 7 years in a mental institution. In the end, foster homes were used to nurture Malcolm and his brothers.