"Attacking anyone in one country for the actions of the government of another country is disgusting racism all by itself, on the whole."
Personally - absent illegal actions - I think there is a bit more nuance to it than that. There's also a slight whiff of hypocrisy about people banging on about democracy, and then trying to hide behind the argument "it's the nasty governments fault" rather than accepting their role in things. And even if people want to tell me I'm wrong (happens a lot grin) it's not so much what I think that matters. It's what the people we bomb, maim and kill abroad think that matters.
There is no nuance to it whatever.
Here is a direct parallel. Some of my family come from Germany. If Boris Johnson said that Covid had been designed and let loose by "the Germans", would that justify racist thugs attacking me? Born in England as I was? I think not.
Attacking a person of Chinese ancestry living in America for what may or may not have been done by the government of a country to which that Chinese-American has never been is not justified.
It is not reasonable to attack a person living in one country, for the actions of the government of another country. For the actions of their own government, perhaps; but for those of a government not their own? They might as well, with equal justification, attack me because the government in Myanmar has been attempting genocide against the Rohingya people.