Since when is it alarming to complement another country's progress, especially when you're not enemies? I'm no fan of the CCP (and no Kiwi) but this sounds ridiculous.
Just because Trump has tried to normalise just that (ref: Russia and North Korea) doesn't make it acceptable.
The US has the highest incarceration rate in the world, by a large margin, almost 7 times that of China.