A statement by the Pakistani army on Monday said 46 members of the Afghan forces, including five officers, crossed the border late on Sunday near the Pakistani border town of Chitral in Khyber Pakhtunkhwa province.
The Afghan government, however, denied on Monday its troops crossed into Pakistan.
“This issue is not true. No Afghan military personnel have taken refuge in Pakistan, the sensitivity that all Afghans have against Pakistan and especially our military, is clear to all,” said General Ajmal Omer Shinwari, a spokesman for the Afghan National Defense and Security Forces.
He made the statement at a news conference in the Afghan capital, Kabul.
But early on Tuesday, Pakistan’s military distributed a video of Afghan soldiers in uniform being greeted by Pakistani troops.
An accompanying statement read: “The said soldiers have now been amicably returned to Afghan authorities on their request along with their weapons and equipment. Pakistan will continue to extend all kinds of support to our Afghan brethren in time of need.”
Neither Pakistan nor Afghanistan provided information about fighting on the Afghan side of the border. Pakistan’s military dismissed the Afghan denial.
The Taliban have swiftly captured territory in recent weeks in Afghanistan and seized strategic border crossings with several neighbouring countries. They are also threatening a number of provincial capitals – advances that come as the last US and NATO soldiers complete their final withdrawal from Afghanistan.
The Taliban is said to now control about half of Afghanistan’s 419 district centres. The rapid fall of districts and the seemingly disheartened response by Afghan government forces have prompted US-allied warlords to resurrect militias with a violent history.
For many Afghans weary of more than 40 years of wars and conflict, fears are rising of another brutal civil war as American and NATO troops leave the country.
Relations between Afghanistan and Pakistan – long fraught with suspicion and deep mistrust – deteriorated further when the Taliban overran the Afghan border town of Spin Boldak earlier this month.
Taliban fighters at the time were seen receiving medical treatment in a Pakistani hospital in the town of Chaman, across the border from Spin Boldak.
Afghan officials have accused Islamabad of providing sanctuary to the Taliban as Afghan forces battle to retake Spin Boldak.
The US last week carried out air attacks in support of Afghan troops in the southern city of Kandahar, about 100 kilometres (62 miles) west of Spin Boldak.
Also this month, Kabul recalled its ambassador and other diplomats from Islamabad after the 26-year-old daughter of Afghanistan’s ambassador was brutally attacked in the Pakistani capital.
Pakistan still hosts about two million Afghans as refugees from decades of war in their homeland.
The Taliban surge gained speed after President Joe Biden announced in mid-April that the last American and NATO troops would soon leave Afghanistan.
The American soldiers thought to be between 2,500 and 3,5000 and 7,000 NATO allies have mostly left the country at this point, while the few remaining soldiers will be gone by August 31.
Pakistan has dismissed allegations of aiding the Taliban and points out that it succeeded in pressuring the fighters into peace talks last year.
However, Pakistan accuses Afghanistan of harbouring the Pakistani Taliban, an armed group separate from the Afghan Taliban that has stepped up attacks on the Pakistani military.