Well first, China is a totalitarian dictatorship that enforces propaganda. The media in the country is filtered by the state, and things they want pushed whether true or not are often pushed, and things they want hidden are banned. So the knowledge Chinese have about their own country and other countries goes through a government filter, which will influence their opinions. So maybe the CCP has become better at propaganda, or have a more invasive surveillance state in the internet and smartphone age where opinions are tracked and dissent is crushed more effectively.
Economic conditions in China keep improving, I assume this also is a factor. The country is essentially fascist. They're aiming for national rejuvenation to eventually take over the world. Make China Great Again.