And the leaders (currently Trump and Biden) throw gasoline on the fire.
Disaffected people draw purpose from the cause that they lack in their own lives. Discussed at length in Eric Hoffer's True Believer. Political rhetoric becomes dogma, criticism of "Dear Leader" becomes blasphemy, if you're not with us, you're against us. Etc.