Oil prices rose over 1% Wednesday, recovering after two days of sharp declines, as investors evaluated the durability of a ceasefire between Israel and Iran.