1) The algorithms of the platforms
2) The disinformation / astroturfing / asymetric warfare, driven from Russia, Iran, CCP, and many other 'interested parties'
3) The actual organic opinions
The drivers are in about that order of force. The point of #2 is to make it appear organic, so people can make the argument that 'it's just people's opinion', even when it is wrong.