Pakistan’s ambassador to the United States raised the possibility Monday that his country might redeploy troops from the Afghanistan border to the Kashmir frontier, a shift that could complicate American peace talks with the Taliban.

Such a possibility, coming just as Pakistan’s longstanding Kashmir crisis with India has escalated, could add a new element to the peace negotiations, which are said to be in the final stages and would end nearly two decades of American military entanglement in Afghanistan.

Pakistan’s ambassador, Asad Majeed Khan, emphasized in an interview with The New York Times editorial board that the Kashmir and Afghanistan issues were separate and that he was not attempting to link them. On the contrary, he said, Pakistan hoped the American talks with the Taliban would succeed and that his country was actively supporting them.

“We are doing all that we can and will continue,” Mr. Khan said. “It’s not an either-or situation.”

Nonetheless, Mr. Khan said, India’s crackdown on the disputed region of Kashmir, on Pakistan’s eastern border with India, “could not have come at a worse time for us,” because the Pakistanis have sought to strengthen military control along the western border with Afghanistan, an area long infiltrated by Taliban militants, as part of the effort to help end the Afghanistan conflict by denying the group a safe haven.