The failure exposes a diplomacy that protects fossil-fuel power while leaving vulnerable countries to pay the price.