Obviously Pakistan is a puny country that we can handle. Hence we pounded Kargil till you retreated. China is much bigger than ours economically. We dealt it pragmatically. We are not stupids to take on much larger country for a piece of barren land which was treated as no man's land even when we claimed it as ours. And also it is ridiculous since China is claiming that it is India which actually crossed over LAC for much disappointment to cheerleaders. They never dreamt of crossing LAC and taking on India for Pakistan(lol).
If Pakistan or China happy taking over minuscule land that is not guarded and claim victory, then so be it. We still hold 99.8% of Kasmir and Ladakh. Congrats on your .2% land grab. Lol.
Our banning made our negotiations potent. Hence resulted in their draw back today.