Oil posted a weekly gain as prospects for a cease-fire in the Israel-Hamas war faded and Israel prepared to attack southern Gaza, increasing crude's geopolitical risk premium.
Oil dropped for the third week out of the last four with China facing a large consumption hit and the Federal Reserve signaling that it will aggressively tighten monetary policy to curb inflation.
Oil posted its first weekly loss since June as low trading volumes left the market vulnerable to macroeconomic concerns, overshadowing signs of a tight physical environment.