An observation: War of the Worlds is the prototypical alien invasion story. It was meant to be an impassioned screed again colonialism and a metaphorical examination of the consequences of white imperialism.
Later tales from the genre took up the original story’s premise – aliens invading the Earth – while ignoring its message that oppressing the Other is bad. In fact, later alien invasion stories proclaimed the exact opposite message: oppressing the Other is good, because they’re out to destroy us with their Otherness.
The alien invasion genre became an expression of fear of immigration and racial others. More, it became a cri de coeur of imperialist terror at losing hegemonic dominance, fear of no longer being top dog. You never see alien invasion movies where the aliens invade Mombasa, it’s always London and New York and Washington.
So now the alien invasion genre has ended up in the opposite location it started from: alien invasion was a metaphor for white people conquering non-white countries, while nowadays it’s become a metaphor for non-white people immigrating to majority-white countries. What a funny old world we live in.