Pakistani security officials have said they could feel compelled to abandon the campaign against militancy and take forces away from the Afghan border , where they are fighting al Qaeda and the Taliban , and move them to the Indian border if tension increases .