Oil rose a third day on signs the conflict in the Middle East is escalating, threatening to hamper a recovery in energy flows from the region.