The CCP has invested a lot of energy into making the people of China conflate these two concepts. The party IS China and the two are inseparable according to the CCP.
This is where the topic becomes contentious and not so black and white. The CCP has successfully influenced millions of people into doing its bidding abroad. And the CCP is fully aware of the West's strong aversion to racism in any form, and has been able to weaponise it.
Relevant reading: Silent Invasion: China's influence in Australia (2018)
As an American of Chinese descent, I honestly have very real concerns about my own safety in the next decade or two going forward. Japanese internment camps happened not too long ago, they can happen again. Or worse.
Even if it weren't government sanctioned, violence against us is still on the rise[1].
The issue is called out-group homogeneity bias: https://en.wikipedia.org/wiki/Out-group_homogeneity
That distinction shouldn't need to be made in the first place - it's pretty blindingly obvious to anyone with basic thinking skills that "the government of a county" and "the people/nationalities/culture of a county" are two totally different things.
Even American county dwellers, who tend to be less educated, can understand this pretty easily - most of them identify as being "Americans", but are still critical of their government (and associated politicians).