Pakistan on Friday said U.S. officials preparing to launch an attack near its border with Afghanistan had given the wrong information to Pakistani officials about where they intended to conduct an airstrike, leading to a hit on two border posts that killed 24 members of the Pakistani military.

U.S. officials in Washington on Thursday said that Pakistani officials at a border control center had given an all-clear. U.S. officials believe the correct coordinates were given to the Pakistanis, but said it's one of the issues investigators...