What the US does can be criticised by its citizens, and protested. People can be punished. Wrongdoing can be exposed. Plenty of people in the US criticise the invasion of Iraq. I doubt many Chinese will find it safe to criticise the occupation of Tibet.
Democracies can and do bad stuff, but internal opposition and accountability limit it, and often but an end to it.