China outrightly back Pakistan to contain India even though officially they would never admit India as any threat :D It's an image business. Diplomatic relations are image business. China probably thinks India is asskisser of western countries so they are countering India. Pakistan never had the balls to criticize China because otherwise they won't survive if China goes away from them.