The United States has vetoed an Arab-backed and widely supported U.N. resolution demanding an immediate humanitarian cease-fire in the Israel-Hamas war.