Where to begin... I could come up with 20 different starting points and tbh I don't have it in me. I'll try though, to put a few up here - and then go the admittedly lazy path and leave you with some links to those who say it better and with the expertise I don't have.
Two related but not the same places would be right-wing authoritarian personality and social dominance orientation. Get social groups with higher values of these together (the way social media pulled together disparate groups that ended up in QAnon, who likely wouldn't have found each other without the algorithm seeing the common variables they wouldn't have seen themselves - for instance: the homeschool mom, the evangelical apocalyptic believer, the 2A militia member, the anti-vaxxer, Trump follower/Hillary hater, incel, white nationalist, homophobic/sexist/racist aggrieved white conservative watching their demographic shrink).
Anyway, RWAs and SDOs would have different approaches but would work together for a similar goal. I dug out my textbook, and here's a graphic with a simplified comparison, but you could see how these groups in tandem could see a crisis (Democrats are stealing the election from Trump) and imagine a solution (storm the Capitol and prevent the electoral ballot count).
View attachment 90239
RWAs would place high value on a religious authority (megachurch pastor telling them Trump is God's anointed) or trusted political authority (Trump) telling them things they perceive as true, that the threats they face are real, and that action to protect their social dominance is necessary. Whether that plays out with bogeymen like DEI, or immigrants at the border, or transgender visibility days that fall on Easter, or no prayer in school, or governments that want to control people with vaccinations, or people of color protesting injustice, or women in roles not meant for them... all of these are threats to the social orders they see as dominant, and they want to keep dominant. That's fear, and anger, and that's what the algorithm hones in on and amplifies. They see things much more in black and white - they're on the good side, and The Other is on the bad side, and must be kept down where they belong.