Brent crude and U.S. crude gave back part of their earlier gains after a Qatar government spokesperson said talks between Oman and Iran had moved into an advanced stage. The comment suggested progress in the negotiations and coincided with a pullback in oil prices.