Oil prices turned sharply higher on Tuesday after earlier slipping on concerns over a potential rise in U.S. crude stocks.