ISLAMABAD (Reuters) - President Barack Obamas warning to Islamabad over suspected ties to militants will hurt efforts to stabilise Afghanistan and fuel anti-Americanism, Chairman Senate Foreign Affairs Committee Saleem Saifullah said on Friday. Pakistan is seen as critical to bringing peace to neighbouring Afghanistan, but the United States has failed to persuade it to go after militant groups it says cross the border to attack Western forces in Afghanistan. This is not helping either the United States, Afghanistan or Pakistan, Saifullah told Reuters. There will be pressure on the (Pakistan) government to get out of this war, he said, referring to the US war on militancy. He said Washingtons public criticism of Pakistan was counter-productive and would only encourage militant groups. War in Afghanistan is passing through a critical phase, evolutionary phase, he said. At this stage, muddying water is not appropriate. This is exactly what the militants want. They are playing to their tune. This is adding strength to them. Some analysts agree with his assessment. This will create more tension and what the Americans want is not likely to happen in the near future, said political analyst Hasan Askari Rizvi. Instead of public confrontation, Obama should work more closely with Pakistan to bring peace to Afghanistan, said Saifullah. This is no time for this kind of (allegation) when they are pulling out, a troops drawdown, he said. They should be seriously working on the endgame. But public demand from Washington will make Islamabad more reluctant to take action because caving in after constant pressure could be political suicide in a country where anti-American sentiment runs high, and the government is unpopular. Many Pakistanis believe they have been dragged into a war against militancy that only serves American interests. That sentiment has become more widespread because of an escalation of US drone aircraft missile strikes against militants under the Obama administration. Are we owned by the United States? If so, please make our terms of servitude clear Mr Obama so we can just get on with it, said Mishayl Naek, a bank employee in Karachi, in reaction to the US presidents demands of Pakistan. Obama had warned Pakistan on Thursday that its ties with 'unsavoury characters had put relations with the United States at risk, as he ratcheted up pressure on Islamabad to cut links with militants mounting attacks in Afghanistan. His comments are likely to deepen a crisis in the strategic alliance between the United States and Pakistan. Obama had accused Pakistani leaders of hedging their bets on Afghanistans future, but stopped short of threatening to cut off US aid, despite calls from lawmakers for a tougher line over accusations that ISI supported strikes on US targets in Afghanistan. Pakistan says it has sacrificed more than any other nation that joined Americas global war on terror after the September 11, 2001 attacks on the United States, losing 10,000 soldiers and security forces, and 30,000 civilians. But its performance against militants operating from its unruly tribal northwest border region is a frequent source of tension between Washington and Islamabad. Ties were heavily strained after US special forces launched a unilateral raid that killed Osama bin Laden in Pakistan on May 2. They deteriorated further after the top US military official accused Inter-Services Intelligence (ISI) of supporting a September 13 attack by the Taliban-allied Haqqani militant group on the US embassy in Kabul. The United States has long called for a military offensive against the Haqqani network, which it says is based in North Waziristan. Pakistan sees the Haqqani network - perhaps the most feared Taliban-allied insurgents in Afghanistan as a counterweight to the growing influence of rival India there, analysts say. Pakistan denies links to the group and says it no longer operates from sanctuaries in North Waziristan and feels secure operating in Afghanistan after battlefield gains. Obama made clear that future US-Pakistani relations would depend heavily on whether Islamabad complies with Washingtons demands to sever connections with insurgents. Obama wants to stabilize Afghanistan as US forces are drawn down with the goal of ending their combat mission by 2014. Even if Pakistan wanted to eliminate the Haqqanis, an assault could be risky. The group, which says it has more than 10,000 fighters, spent years forming alliances with various militant groups seeking to topple the US-backed government. The Haqqanis ties with powerful tribes are another concern. Intelligence officials say Islamabad fears an assault would provoke a larger tribal uprising in North Waziristan. Pakistan is also feeling the heat from Afghanistans government, which has accused the ISI of masterminding the September 20 killing of chief the Afghan peace envoy by a suicide bomber. Islamabad reacted angrily to the allegations. In a move that has deepened Pakistans isolation, Afghan President Hamid Karzai signed a wide-ranging agreement with India this week during a visit to New Delhi.