NEW YORK (Reuters) - Oil prices pared gains in a volatile trade on Tuesday amid fears that demand would stall due to a trade war between the United States and China, and concerns that Russia remains a stumbling block to a deal to cut global crude supply.

Oil pumps are seen after sunset outside Vaudoy-en-Brie, near Paris, France November 14, 2018. REUTERS/Christian Hartmann

U.S. President Donald Trump made clear he would revert to tariffs on China if the two sides could not resolve their differences.

The comments put a damper on market enthusiasm and a major selloff was seen across stocks and other assets, with Wall Street falling more than 3 percent on Tuesday. Oil has pulled back alongside other asset classes in recent weeks, driven by worries about trade and economic growth.

Oil benchmarks gave up Monday’s 4 percent gains, which had come after Trump and Chinese President Xi Jinping agreed at a meeting of the Group of 20 industrialized nations (G20) to pause an escalating trade dispute.

In Monday’s session, expectations of a production cut by the Organization of the Petroleum Exporting Countries (OPEC) and its allies, when they meet on Thursday in Vienna, had also supported prices.

OPEC and its allies are working toward a deal to reduce oil output by at least 1.3 million barrels per day, four sources said on Tuesday, adding that Russia’s resistance to a significant production cut was so far the main stumbling block.

“Now we’re starting to get uncertainty on both the trade and production cut fronts and the market is giving back those gains,” said Gene McGillian, director of market research at Tradition Energy in Stamford, Connecticut. “Some of the optimism surrounding the easing of trade tensions seems to be evaporating.”

U.S. crude CLc1 settled up 30 cents at $53.25 a barrel after a volatile session that saw the benchmark rally 3 percent to $54.55. Brent crude oil LCOc1 rose 39 cents to settle at $62.08, after earlier touching a session high of $63.58. In post settlement trading, both benchmarks edged slightly lower.

Ahead of the OPEC meeting, Saudi Oil Minister Khalid Al-Falih said it was too soon to be certain that OPEC and other oil exporters would cut production because the terms of a deal remain unresolved.

Al-Falih said he thought the market was oversupplied but he cautioned that all members of OPEC and its allies needed to come together for a cut to go ahead.

Trump has put pressure on Saudi Arabia to keep prices low, blaming the kingdom for rising prices.

“A cut in OPEC and Russia production of 1.3 million bpd will be required to reverse the ongoing counter-seasonally large increase in inventories,” Goldman Sachs said in a note.

It added that it expected a joint effort by OPEC and Russia to withhold supply to push Brent oil prices “above the mid-$60 per barrel level”.

Helping OPEC in its efforts to rein in emerging oversupply was an order on Sunday by the Canadian province of Alberta for producers to scale back output by 325,000 bpd until excess crude in storage is reduced.

OPEC's biggest problem is surging production in the United States, where output - mostly from its shale fields - has grown by about 2 million bpd within a year to more than 11.5 million bpd. C-OUT-T-EIA

Barclays bank said in a note to clients that oil production in Texas alone “reached 4.69 million bpd in September, compared with Iraqi output of 4.66 million by our estimates”.

Iraq is OPEC’s second-biggest oil producer behind Saudi Arabia.