The quake — the deadliest in the country in two decades — hit about 28 miles southwest of the city of Khost, a provincial capital in the country's southeast.