NEW DELHI: Afghan President Ashraf Ghani has returned from Islamabad to Kabul a seemingly happy man, having won the symbolic victory of a renewed commitment to the peace dialogue with the Taliban, with Pakistan and the United States in full support. Greeting him in Kabul, however, was a skeptical and largely anti-Pakistan public, a Taliban-led attack on a heavily fortified airfield in Kandahar, and the resignation of Afghanistan’s intelligence chief.

Intelligence chief Rahmatullah Nabil, a United States favorite who led Afghanistan’s National Directorate of Security for five years, resigned on Thursday, lashing out at Ghani in a Facebook post. “When Prime Minister Nawaz Sharif once again stated that Afghanistan’s enemy is Pakistan’s enemy our compatriots in the residential areas of Kandahar airport, Khanashin district of Helmand and Takhar and Badakhshan were being martyred and slaughtered, and at least 1,000 liters of blood of our innocent people was shed, in the same red color as the carpet that we catwalked on.”

“Thank God I am not part of it,” he added.

Nabil is referring to the recent most incidents in a spate of attacks by the Afghan Taliban, who have stepped up violence after the death of their leader, Omar, removed a unifying figure and led to factionalism within the group. Militants who were opposed to a peace dialogue with the Afghan government reneged on their pledge to new leader Mullah Akhtar Mohammad Mansour, who is seen as close to Pakistan. The BBC, in fact, quoted a Taliban spokesperson saying that newly appointed leader Mullah Akhtar Mohammad Mansour had not been appointed "by all Taliban", going against Sharia law. A breakaway faction appointed another leader -- Mullah Mohammed Rasool -- and vowed to push on with their fight against the Afghan state.

Recent attacks are indicative of the fact that the anti-Mansour factions are putting their threat into action, as the Kandahar airport attack Wednesday night killed 37 people. The Taliban has also seen recent successes in the capture of important cities, including Kunduz and other gains in southern Helmand province, where militants approached Lashkar Gah, raised their flag in the main centre of Ghurian district, and captured Warduj district.

In this scenario, the smile on Ghani’s face regarding the talks may be premature. Mansour’s position on the talks remains unclear. In July, when Pakistan pressured the Taliban leadership to sit down for talks, Mansour disappeared, with his phones turned off. Even more importantly, although Mansour is the Taliban’s appointed leader, the extent of his command and mandate is a big question mark. Is Mansour going to be able to impose his will on the entire Taliban, especially as large numbers of militants have denounced his leadership? Unlikely.

In addition to the Taliban being a mood dampener for Ghani, the Afghan public too is largely skeptical of Pakistan. The reason why Pakistan could push the Taliban leadership to agree to talks is because of the fact that Taliban leaders are based there — mostly in Quetta, in Baluchistan Province — and fighters depend on cross-border sanctuaries to escape Afghan and NATO security forces. Pakistan has a lot of leverage over the Afghan Taliban, no doubt, but this fact is the reason for the skepticism. Afghans have long maintained that Pakistan has aided and abetted terrorism, by providing training, finances and sanctuaries to militants active in Afghanistan (side note: India has a similar grievance in regard to militancy in Jammu and Kashmir).

Former Afghan President Hamid Karzai echoed the above skepticism, hitting out at Pakistan repeatedly as relations between the two countries dipped to historic lows. Ghani came to power singing a different tune -- that of talks. The strategy seemed to be bearing fruit, with the Taliban agreeing to a peace dialogue with the Afghan government in July -- a first in the 13 years since the fall of the Taliban government. The talks, and with it Afghan-Pak relations, hit a roadblock in August with the death of Omar, exposing the factionalism within the Taliban and making clear the fact that resolution through dialogue was not going to be easy in the least.

The upswing in violence that followed Omar’s death led to a volt face in Ghani’s rhetoric, as he employed language similar to Karzai and hit out at Pakistan for not doing enough to reign in terror. Till this point, there was an upswing in relations as Ghani soon after being sworn-in visited Pakistan, and then Pakistan’s army chief and head of intelligence visited Kabul.Delegations from the two countries made visits across the border; six Afghan army cadets were sent to Pakistan for training; military efforts were coordinated across the shared border; and Ghani and Pakistani Prime Minister Nawaz Sharif both issued statements in support of cooperation and bilateral ties.

The two countries even signed an agreement between Afghan National Directorate of Security (NDS) and Pakistan’s Inter Services Intelligence (ISI) -- a move widely criticised by the camp opposing the betterment of ties.

Then Ghani’s trip to Washington happened, where US President Barack Obama announced the decision to slow troop withdrawal. The Taliban, in turn, issued a statement vowing to continue fighting. "This damages all the prospects for peace, Taliban spokesman Zabihullah Mujahid said of the announcement. “This means the war will go on until they are defeated.”

All this has been the source of much criticism. In an interview with The Guardian, former Afghan President Hamid Karzai -- said that the country’s historic struggles against British imperialism and Soviet invasion will have been in vain if it succumbs to pressure from Pakistan.

This view was echoed by Karzai’s associates who sat in on the interview. Rangin Dadfar Spanta, a former foreign minister and national security adviser said that the policy amounts to the humiliating “appeasement” of a hostile power who would never change its ways. In a similar vein, Omar Daudzai, one of the most influential officials of the Karzai era who served as chief of staff and interior minister, predicts, “There could be a bloody summer, there will be fighting and there will be disappointments on the dialogue table from time to time.” Daudzai, a former ambassador to Islamabad, added that whilst he thought Ghani’s attempts to woo Pakistan were “courageous,” they would ultimately fail to change the country’s behaviour. “He has taken controversial steps that his predecessor didn’t take, and now we have to wait to see whether the Pakistani side is sincere or not,” he said. “But I am far more sceptical than I ever was before about Pakistan’s sincerity.”

And this is by no means an isolated view. An important figure within Afghanistan, Karzai echoes a distrust that runs deep with the Afghan people.

Ghani reaching out to Pakistan is a gamble. If Pakistan reneges or fails to do its part in reigning in the militants, the anti-Pakistan voice in Afghanistan is only going to grow louder -- and focus its disenchantment on the man seen as extending a hand to the neighbouring country.