Oil prices fall as investors assess impact of Israel-Hamas war