Pakistani Prime Minister Imran Khan in Beijing in November 2018. (Thomas Peter/Pool/Reuters)

Husain Haqqani, director for South and Central Asia at the Hudson Institute, was Pakistan’s ambassador to the United States from 2008 to 2011. His latest book is “Reimagining Pakistan.”

On Friday, Pakistan released an Indian pilot shot down in Pakistani-controlled territory amidst rising hostilities. But the peace gesture, as Pakistani Prime Minister Imran Khan called it, is unlikely to end the conflict between the two nuclear-armed neighbors. There appears to be international consensus that, to truly end hostilities, Pakistan must shut down support for terrorist groups whose actions have brought India and Pakistan to the brink of war several times over the past two decades.

Since 1999, crises between India and Pakistan have tended to evolve in four stages. First, eager to get international attention for the dispute over Kashmir, a Pakistan-based militant group launches an attack in India or Indian-controlled Kashmir. Then India threatens retaliation, which in the past involved mobilization of troops along the Pakistan border but this time comprised an air strike on a terrorist training camp inside Pakistan. Faced with Indian threats, Pakistan raises the specter of nuclear confrontation and asks the United States and other major powers to help defuse the situation. Finally, American diplomacy provides Pakistan a face-saver, and the threat of war subsides.

This scenario played out in 1999, during the Kargil crisis. It was repeated after the attack on India’s Parliament in December 2001 and again following the carnage at several Mumbai hotels in November 2008.

As Pakistan’s ambassador to the United States during the Mumbai attacks, I witnessed firsthand the American efforts to smooth out India-Pakistan tensions. President George W. Bush, Secretary of State Condoleezza Rice and national security adviser Stephen Hadley spoke on the phone with prime ministers of both countries multiple times. The CIA shared intelligence that enabled Pakistan to arrest several individuals connected with the attacks. But after the immediate threat of Indian retaliation had passed, Pakistan backed away from punishing the attack’s masterminds and perpetrators.

In 2016, India tried to change the pattern by following a terrorist attack inside its territory with a surgical strike against a terrorist launchpad across the de-facto border in Kashmir. Pakistan avoided escalation by pretending that the strike had not taken place.

As in 2016, the latest confrontation also deviates from the usual pattern. After a Feb. 14 terrorist attack in Indian-controlled Kashmir, India undertook a retaliatory strike on an alleged militant facility in Pakistan. Pakistan responded to India’s strike with an air raid of its own. It was while chasing the intruding Pakistani aircraft that the Indian pilot being released on Friday was shot down.

In military terms, Pakistan’s military-intelligence establishment counts on India’s fear of conflict escalating to the nuclear level while planning terrorist attacks. Instead of nuclear weapons being a deterrent to war, this approach allows for low-cost, low-intensity war, which can be carried on endlessly under a nuclear umbrella. But now India feels it has found a soft spot where it can strike — whether on ground using special forces, as in 2016, or using air strikes as they have in the current crisis — without crossing the threshold for all-out war between the nuclear powers.

These hostilities come amidst rising hyper-nationalist sentiment in both India and Pakistan. Politicians and shrill anchors on Indian evening television talk shows have been clamoring for India to teach Pakistan a lesson over its support for terrorism. On the Pakistani side, national pride has been constantly invoked to assert that India cannot dictate to Pakistan.

Yet Pakistan’s support for terrorist groups is well documented, even as it has been officially denied by successive Pakistani governments. Pakistan-based groups, operating openly despite official bans, have often been eager to claim responsibility for attacks inside India.

It might be a bitter pill to swallow for some Pakistanis, but Pakistan’s 30-year strategy of supporting insurgents and militants in Kashmir has failed. Pakistan’s policy has made life more difficult for the Kashmiri Muslims it claims to support. Violence supported from across the border has resulted in an Indian clampdown and obscured international concern about human rights in Kashmir.

Moreover, most countries, including some of Pakistan’s few remaining friends abroad, failed to even mention Kashmir as an issue during the current imbroglio. China, Saudi Arabia and the United Arab Emirates — all of whom have recently promised significant amounts of loans and investment to help bail out Pakistan’s troubled economy — spoke of the need for de-escalation but said nothing that could be construed as support for Pakistan’s stance on Kashmir.

In fact, world leaders seem to have changed their tack and ignored the well-worn four stages of previous India-Pakistan crises. For example, Secretary of State Mike Pompeo, emphasized “the urgency of Pakistan taking meaningful action against terrorist groups operating on its soil” along with leaders of France and Germany, instead of focusing on finding a face-saver for Pakistan.

That means Pakistan can no longer link its tolerance or support for terrorist groups with the grievances of the people of Kashmir in hope of securing international attention or support. That — along with Indian attention to Kashmiri human rights concerns — might be the most effective means of avoiding recurrent India-Pakistan conflagrations in the future.

Read more:

Barkha Dutt: India has made its point in Pakistan. Time to let the diplomats do the hard talk.

Christopher Clary: India and Pakistan resort to the diplomacy of violence — and flirt with catastrophe

Barkha Dutt: Everything will change after the Kashmir attack

Hafsa Kanjwal: As India beats its war drums over Pulwama, its occupation of Kashmir is being ignored

Letters to the Editor: India shouldn’t blame Pakistan for the Pulwama incident