On the eve of the US invasion in 2001, a top Taliban diplomat issued a warning: “Afghanistan is a swamp. People enter here laughing, are exiting injured.” The US, which soon afterward ousted the Taliban from Kabul in a matter of weeks, is now racing to evacuate the capital after the militant group seized control of it Sunday much faster than anyone predicted.