Hate/dislike is just an emotion. Public opinion is te epitome of crowd emotionalism. It can be manipulated/manufactured via targeted propaganda. Sometimes as big as a traumatic event, sometimes as small as a picture will trigger such public opinion sways.
Think of the one still image of Tiananmen protests' emotional impact on public sentiment. It is all about how willing or how capable one is in international public opinion propaganda. Normally, for those willing, the US produces such material almost on daily basis such as the 'I can't breathe' pictures.
China is a little bit of both in using such materials as a counter propaganda for influencing public opinion: Less capable, and less willing (China's officials are quite reticent and keep mum as compared to many mouth-foaming angry US high officials, including Senators).
There is historical psychology involved in here: From the geographic discoveries and colonialism onwards, the West justified critical policies (read Roosevelt Corollary, for instance, for a very racist supremacist view of international relations) through ethnocentricism based on us vs. them dichotomy.
It is exactly the discourse the US elite has been building openly against China (US was no less hostile during, say, Obama admin) from the moment (around 2008) they understood that China would never adpt any Western ideology/model in a wholesale fashion. China's political, economic ideational sovereignty has become the trigger for the dormant Western ideological fanaticism and racism against China.
We need to learn to ignore public opinion and, instead, focus on our own discourse and voice it constantly. In the West, for the elite, changing the public opinion is as easy as changing one's underwear. It is just a matter of investing some money.
They were predicting doom soon after the PH 'won' against China at the Australia backed kangaroo court.
Remember US opinion toward Middle East invasions throughout last decade. It changed more often than Trump changed his administration.
We should not place much importance to something as cheap as Western (influenced) public opinion. It is worthless.
Just be stronger. Strength will create respect out of fear and awe.