@Arsalan123
The prism you are using is very narrow. Try looking at it from China's perspective.
a. Help Pakistan logistically
This will ensure, it provides Pakistan with all material support it requires to the extent, that, it is not detrimental to its own state secrets. Here, India will keep cribbing but not directly engage China. China will keep saying its business. Pakistan will need to now use the equipment provided.
b. Help Pakistan directly
It enters the conflict, thereby doing the following. Business at risk with India and India officially designates China an enemy state. In this scenario, if China aligns itself in what is a as good as a defence pact, what do you think will be the Indian reaction?
Till date all military exercises have been increasing co-ordination between the IN, USN and JSN. The RAN is now joining the band wagon. But still, India has avoided getting into a formal strategic alignment with these countries. A defence pact between US, Japan and India is not something the Chinese can take on. Not now, not 50 years in the future. This will include Australia and Vietnam going forward. Veritably, an Asian NATO.
Will China risk this for a Pakistan which is at best, a barely functioning state, being propped up economically by the GCC and China? An Asian NATO is the start of the bottling up of China. Whereas, a rival but non-aligned India is the best case scenario for the Chinese.
Think honestly and realistically. What will China do?