The United States, ordinarily a protector of Israel at the United Nations, signed on to a statement expressing deep concern about its attack on Hamas in the Qatari capital.