WASHINGTON —

It's approaching six months since the Taliban took over the Afghan capital, Kabul, on August 15. And in the months since the U.S. withdrawal from Afghanistan, neighboring China has taken a keen interest in the fate of the Central Asian country.

With US Away, China Gets Friendly with Afghanistan's Taliban

The interest, in fact, predated the Taliban takeover. In late July, Chinese Foreign Minister Wang Yi and a nine-member Taliban delegation met in the northern Chinese city of Tianjin. The meeting, some analysts said at the time, underscored Beijing's warming ties with the Islamist group and the Taliban's growing clout on the global stage.

With US Away, China Gets Friendly with Afghanistan's Taliban

In addition, last October, Foreign Minister Wang spoke about China's expectations for Afghanistan's future after he had met with the Taliban interim government representatives in Doha, Qatar, where the two parties "decided to establish a working-level mechanism."

With US Away, China Gets Friendly with Afghanistan's Taliban

China's expectations, said, include the following: Build a more inclusive political structure in which all ethnic groups and factions play a part; implement more moderate foreign and domestic policies, including the protection of women's rights; "make a clear break with all terrorist forces, including the Islamic State and the East Turkestan Islamic Movement"; and pursue a peaceful foreign policy, especially with neighboring countries.

However, since the Taliban regained control of the country — two decades after the U.S. and its allies had toppled it in 2001 — no country, including China, has officially recognized its legitimacy.

Beijing, though, according to experts, has participated in friendly bilateral interaction with Kabul to build a functioning relationship with Taliban authorities.

"What has been surprising has been China's willingness to be seen so publicly as doing this and being the most forward of Afghanistan's many neighbors to be doing this," said Raffaello Pantucci, a senior fellow at the S. Rajaratnam School of International Studies in Singapore.

The Taliban's appointment of a new ambassador to Beijing this month reflects pragmatism by the leaders of the Islamist group, who see China as an important partner, Pantucci told VOA.

After the Taliban had appointed its ambassador to Beijing, the former Afghan ambassador to China, Javid Ahmad Qaem, resigned from his job through a handover note posted on Twitter on January 9.

On January 17, that Beijing "agreed" with the new appointment.

"Now that they (the Taliban) introduced someone and China has agreed to it, it is clear that it was the Chinese government's decision," Qaem told VOA, adding that it could not be possible without China's approval.

Beijing has also been speaking up for the Taliban on international stages, Pantucci said.

"Additionally, we have seen Beijing quite actively lobby for the Taliban authorities in international formats like the U.N. as well as more widely in advance of desired Taliban goals."

U.N. Secretary-General Antonio Guterres called Wednesday to unfreeze Afghan assets overseas, a move China's Ambassador Zhang Jun spoke out in support of in front of the Security Council. Imposing sanctions and freezing assets "are no less lethal than military intervention," Zhang said, according to .

Some $9.5 billion of Afghanistan's central bank assets have been sanctioned by the U.S. since the Taliban regained control of Kabul last August, overthrowing the internationally recognized former Afghan government.

"We once again call for the unfreezing of Afghanistan's overseas assets as soon as possible," Zhang said during last month's g. "These assets should be returned to their real owners and cannot be used as a bargaining chip for threats or coercion."

According to Michael Kugelman, the deputy director of the Asia Program and senior associate for South Asia at the Wilson Center, this "cordiality" between China and the Taliban should not be viewed as a prelude to recognition.

"China is still a long way off from that, and it's unlikely to take that step unless several other countries do first, or at the same time," Kugelman told VOA.

"No matter how repressive the Taliban may be," Kugelman said, Beijing will be comfortable engaging with the Taliban if China concludes it is safe on the ground.

"This means that its interests in Afghanistan are shaped by security conditions and not by considerations about human rights and inclusivity," Kugelman told VOA. "This is especially the case for China, an authoritarian state that prizes stability above all else."

The U.S. and other Western countries, as well as rights groups such as Human Rights Watch, have called on the Taliban to respect the rights of women and minorities in Afghanistan and form an inclusive government.