The Algorithms of Anger and the Fire Next Time

The Algorithms of Anger and the Fire Next Time

The screen glows blue in the dark of a Johannesburg township. It is 2:00 AM. A thumb scrolls, flicking past family photos, soccer scores, and advertisements for cheap data bundles. Then, it stops.

A video plays. It is blurry, chaotic, and loud. The caption above it reads: "They are taking our jobs while our youth starve. Wake up South Africa." If you found value in this article, you should read: this related article.

The man holding the phone feels a familiar, heavy tightening in his chest. He is thirty-two, holds a diploma in electrical engineering, and has been unemployed for four years. His reality is a grueling loop of rejected CVs and skipped meals. The video offers something his empty stomach craves: an explanation. It gives his desperation a face, a name, and a nationality. He taps the retweet button. He adds a fire emoji.

In less than a second, an invisible line is crossed. A personal tragedy of poverty is converted into digital ammunition. For another perspective on this event, check out the recent update from NBC News.

This is not a story about abstract technology. It is a story about how code feeds on human misery, and how a nation's unresolved trauma became the perfect fuel for a new kind of digital wildfire. We are told that social media connects us. In South Africa, it learned how to tear us apart.

The Architecture of Scapegoating

To understand how hatred went viral, you have to look at the physical terrain first.

Walk through the streets of Hillbrow or the informal settlements flanking Pretoria. The air smells of dust, exhaust, and street food. The density is staggering. People live shoulder to shoulder, sharing walls, water taps, and anxieties. South Africa is officially the most unequal society on earth. A mere 10% of the population owns more than 80% of the wealth. Unemployment hovers near 33%, and for the youth, that number climbs past 60%.

Imagine this environment as a dry timber forest. The lack of jobs, the failing infrastructure, the rolling power blackouts—these are the dead branches covering the forest floor.

Historically, when anger boiled over, it was localized. A rumor would start in a tavern; a crowd might gather at a taxi rank. The damage, while horrific, was constrained by geography.

Then came the smartphones.

Between 2018 and 2024, smartphone penetration in South Africa skyrocketed. Suddenly, millions of people navigating deep economic precarity were handed a megaphone and a looking glass. But the looking glass was warped.

Social media platforms do not operate on truth. They operate on engagement. The code behind your favorite app is agnostic to morality; it only knows what makes your thumb stop moving. Behavioral scientists have proven that nothing triggers engagement quite like moral outrage and fear.

When a user posts a nuanced thread about macroeconomic policy, the algorithm yawns. When an account posts a fabricated story about undocumented migrants running a criminal syndicate in the heart of Johannesburg, the algorithm wakes up. It pushes the post to ten people, then a hundred, then ten thousand.

The timber was already there. The algorithm simply provided the oxygen.

The Fiction of the Modern Border

Consider a hypothetical woman named Lerato, a small business owner in Alexandra. She sells vegetables from a wooden stall. For months, her margins have shrunk as wholesale prices rise. One morning, she notices a new stall down the street run by a man from Zimbabwe. He sells his tomatoes for two rands less.

Lerato does not have a degree in international trade. She does not know about the complex supply chains or the inflation rates set by the central bank. She only knows she cannot pay her rent this month.

That evening, Lerato opens an app. She sees a trending hashtag: #OperationDudeula or #PutSouthAfricansFirst. She reads tweets claiming that foreign nationals are draining the public healthcare system and flooding the country illegally. The digital narrative transforms her neighbor from a fellow struggling human into an existential threat.

The danger of this digital landscape is its ability to manufacture consensus. When Lerato sees thousands of likes on a xenophobic post, her brain registers it as a collective truth. "Everyone feels this way," she thinks. The psychological barrier to hostility drops.

But the internet does not stay on the screen.

The digital ecosystem created a pipeline. It begins with an anonymous account posting a rumor. It moves to coordinated networks of bots ampliflying the message to manipulate trending topics. Finally, it lands in the hands of opportunistic politicians who realize that blaming outsiders is far easier than fixing a broken economy.

We saw the devastating conclusion of this pipeline in April 2022. Elvis Nyathi, a Zimbabwean man living in Diepsloot, was chased by a mob, beaten, and set on fire. His crime? He could not produce a passport when confronted by a group demanding documentation.

The rhetoric that killed him did not originate in that dark street. It was crowdsourced, refined, and packaged weeks earlier on digital platforms, delivered straight to the phones of the men who hunted him.

The Mirror We Refuse to Look Into

It is tempting to blame the tech giants entirely. We want to believe that Silicon Valley executives are the sole architects of this cruelty. It absolves us. It makes the problem an external one, a glitch in the software.

But the software only reflects what is already inside the house.

South Africa's relationship with its neighbors is deeply complicated, rooted in the history of Apartheid and the liberation struggle. During the dark decades of white minority rule, neighboring African states sheltered South African freedom fighters. They paid a heavy price in blood and economic sabotage for that solidarity.

When democracy arrived in 1994, the promise was a "Rainbow Nation." But the economic structures of Apartheid largely remained intact. The wealth stayed concentrated. The promised houses, schools, and jobs materialized too slowly, or not at all.

When people are desperate, they look upward at the towers of the wealthy with anger. But looking upward is terrifying; the powerful feel untouchable. So, the gaze shifts downward and sideways. It settles on the person who looks just like you, speaks a slightly different language, and has even less power than you do.

The algorithm did not create South African xenophobia. It merely took an existing human flaw—our tribal instinct to blame the "other" during times of scarcity—and optimized it for maximum profitability. Every share, every angry comment, every quote-tweet of a hateful video generates ad revenue for companies sitting thousands of miles away in California.

Our pain is their profit margin.

Shattering the Feedback Loop

How do you fight a fire that is being fed by an invisible wind?

Fact-checking organizations work tirelessly. They debunk fake videos, expose bot networks, and issue corrections. But a correction is a bucket of water against a volcanic eruption. By the time a lie is proven false, it has already been viewed three million times and integrated into the worldview of thousands. The emotional damage is done.

The solution cannot merely be technological. We cannot wait for social media corporations to suddenly prioritize human lives over their quarterly earnings reports. They have shown us, repeatedly, that they will not.

The real intervention happens when the person holding the phone in the dark chooses to pause.

It requires a moment of profound, uncomfortable honesty. It requires looking at a post that validates your worst fears and asking: Who benefits from my anger?

Does blaming a Malawian shopkeeper fix the electricity grid? Does deporting a Congolese doctor build better schools in the Eastern Cape?

The next time you look at your feed, watch how the anger moves. See how it twists and turns, avoiding the corporate boardrooms and the halls of corrupt governance, choosing instead to strike the most vulnerable bodies it can find.

The screen remains bright. The notifications keep coming. A cursor blinks, waiting for the next input, ready to carry the next wave of rage into the physical world. The fire is waiting. The match is in our hands.

JK

James Kim

James Kim combines academic expertise with journalistic flair, crafting stories that resonate with both experts and general readers alike.