Tit-for-tat attacks on oil and gas sites across the Middle East in recent days have pushed up oil prices.