A United Nations inquiry into the first few months of the war in Gaza has found both Israel and Hamas committed war crimes and grave violations of international law, in the body’s first in-depth investigation into the October 7 attacks and the ensuing conflict.