One morning early in 1988, Ed McWilliams, a foreign-service officer posted to the American Embassy in Kabul, heard the thump of a massive explosion from somewhere on the other side of the city. It was more than eight years after the Russian invasion of Afghanistan, and the embassy was a tiny enclave with only a handful of diplomats. McWilliams, a …