The quake’s epicenter was 22 miles north or Bāsawul, Afghanistan, and it had a depth of 6.2 miles, the U.S. Geological Survey said.