I think the default approach in the West - and that's not a US-specific thing - is to treat exotic faraway lands with a mix of curiosity and awe. But China is a geopolitical rival with a political system that rightly makes many Westerners queasy, so it doesn't benefit from that anymore.
No, everyday people are perfectly content to warm to brutal dictatorships who successfully put on a friendly face. Case in point: Dubai.
We're talking about media and narratives mainly.
On idealizing Japan, people here seem to think it's benefic and pushed by Japan, where I think it's more complicated. If the goal is to keep the US customers and workers in a state of fear and adversity, you need a credible threat from a somewhat powerful enemy, and idealization becomes needed.
That was Japan a few decades ago, that lead to the bashing movement, and I think it kept going t a smaller pace still, while China got set as the next unstoppable threat.
As an American educated by the American public education system and indoctrinated by American media, our government is certainly stupid and vengeful enough to make me want to support this if it were true, but it's just not. The much more banal truth is that Japan is extremely talented at exercising soft power by projecting a favorable image of itself via the media it exports, whereas China is just comparatively terrible at exercising this sort of soft power.