The Taliban's advance has made clear that U.S. efforts to turn the country's military into a robust fighting force have failed, with its soldiers feeling abandoned by inept leaders.