 They use phrases like mutually hurting stalemate. In other words, that the two sides decided that there was little to be gained going forward from military means, that the war had run out of its power. So the only way to get what you want