WASHINGTON — The fall of Rex W. Tillerson from the Trump administration — on Tuesday, Mike Pompeo, the C.I.A. director, was tapped to replace him as secretary of state — removes one the last remaining presidential advisers whose views on global warming are in line with the rest of the world.

Mr. Pompeo has questioned the scientific consensus that human activity is changing the climate, and he has strongly opposed the Paris Agreement, a pact among nearly 200 nations to address climate change. He told Congress last year during his Senate confirmation hearing for the C.I.A. post that the notion of climate change as a top national security threat was “ignorant, dangerous and absolutely unbelievable.”

Mr. Tillerson, despite his decades-long career in the oil industry — a major contributor to planet-warming pollution — holds that rising global temperatures spurred by human activity pose significant risks.

The change in leadership at the State Department all but cements an increasingly hard-line opposition to the idea of climate change at the highest levels of the United States government. Mr. Tillerson’s departure follows the resignation announcement last week of Gary Cohn, the president’s top economic adviser, and the departure last month of George David Banks, a senior adviser to the president on international energy issues. All three had argued to keep the United States in the Paris agreement.