Oil rose after Iran and Israel traded strikes on key energy facilities in the Middle East, boosting turmoil in markets as the conflict stretched toward three weeks.