It shouls also be viewed in it's geopolitical context - China is desparate to have secure land routes into Europe and the middle east incase things kick off in the South China sea, and by their calculations that security requires (forcefully) integrating the Uighur people into Chinese culture and nationalism. On the other hand, the west will take what opportunity they can to attack China on human rights grounds, despite the hypocrisy of all the human rights abuses around the world they happily ignore (the treatment of Kurds in Turkey, for example).
TLDR; we can be critical of western imperialism, while still holding China to account.