Suddenly? They'd been widely criticized for their new homophobic laws well before the Ukraine crisis.
Also, the US torturing people doesn't make other atrocities okay. I keep hearing countries and their fanboys say "yeah, but that other country also does bad things", or "but China is even worse!" Yeah, but that doesn't mean it's okay for your country to do the same. It means that the other country should stop. Can we stop making this a race to the bottom?