When America loses a war, it is generally because of political reaction at home, notwithstanding smashing success on the battlefield.