China has been the world’s biggest gold buyer for the past decade, at least.
China is also the world’s largest producer of gold, and is still a net buyer and importer.
They want to exchange depreciating dollars for appreciating bullion, but don’t want to cause a stampede rush for the dollar exits, because they’d lose too much in a disorderly exit and dumping of the rapidly rotting dollar.