If the Taliban can weaken the position of the US China will support them, just like the US supported the Taliban when they could weaken the position of Russia back in the 80ies.
it is quite unbelievable how they made Taliban say "we've no problems with the Uighur situation"