Increased attacks on the border with Afghanistan have caused tensions between the neighbours.