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