WASHINGTON—When Jawad Raha returned to his diplomatic put up in Washington from his final trip to Afghanistan in early August, the Taliban had been capturing provincial capitals across the state, but he nevertheless considered the U.S.-backed federal government could fend them off.

“People have been fearful simply because of the speedy rate of the Taliban improvement,” Mr. Raha, a seasoned Afghan diplomat, claimed. “But there was nevertheless hope.”