Interesting story I'm hearing is that today's situation is a joint Indian-Chinese response to US-led Afghanistan talks in Qatar. India and China are pissed off at Pakistan and the US for throwing their interests in Afghanistan under the bus, and want a seat at the Qatar table.
A Taliban-ruled Afghanistan that's BFF with Pindi spooks Beijing as it threatens not just their interests in Afghanistan, but also internal security in Xinjiang in the long-term.
Indians are doing the heavy lifting, and the Chinese participation consists of pin-drop neutrality. They'll move in after India has reshaped Kashmir. Either ways, Pakis will pay a heavy price for not knowing their place.