Voting is not asking politely.
Why did the election of 2000 result in a riot at a voting office in Florida that prematurely ended a recount. Why did a federal court stacked with Reagan-Era judges obstruct the attempt to restart the recount and hand the election to the candidate with less than the majority of votes?
We can take this further. In the most recent election, why did Texas voters side 54/46 for Democratic candidates but only send 37% of their US House representatives under the Dem banner? Why did the Democratic Party produce a majority in favor of Hakeem Jefferies for speaker, despite Jefferies being underwater in approval for the voting public? Even within his own party?
You could ask similar questions in any democracy. Why do the views of the public fail to be represented by the elected representatives?
From public health care to foreign interventions, from welfare to weed, politicians defy the will of their voters. They even win office in defiance of popular majorities.
However, I believe that socialist systems must rely on popular sovereignty, so authoritarianism like Stalin’s regime does undermine that to some degree.
Stalin came to power at the end of a bloody and brutal civil war. He wasn't simply installed. People died to elevate him to high office. People killed to stop him.
Whatever you may say about his time in office, he was undeniably the result of a popular revolution.
Compare him to Trump in 2016, who was enormously unpopular and who presided over the deaths of millions, and who came back again a term later even more unpopular to kill even more people.
But because he took office "democratically" we don't complain.