The relationship between a new president and the intelligence agencies that serve him can be difficult in the best of times. But it’s hard to imagine a more turbulent transition than the current one, which has been marred by assertions that the administration has tried to both politicize and marginalize intelligence gathering.

No White House likes it when intelligence agencies — such as the National Security Agency, the Central Intelligence Agency or the Defense Intelligence Agency — deliver bad news, or when that information undercuts the executive’s preferred policies or political positions. But I can’t remember another White House so quick to dismiss those agencies’ judgments or so willing to discredit them as dishonest or incompetent.

We’ve seen presidential tweets with “intelligence” in accusatory quotation marks, a kind of dog whistle that equates intelligence assessments with news reporting that the president condemns as “fake.” In addition to lumping the intelligence agencies in with the “dishonest” mainstream media, the president has compared his espionage services to Russians, Nazis and WikiLeaks.

Last weekend, Mr. Trump accused President Barack Obama of ordering phones at Trump Tower tapped during the 2016 campaign, a claim so outrageous that James Clapper, the former director of national intelligence, denied it a day later. (So did the F.B.I. director, James Comey, according to this paper.) And last month, Mr. Trump blamed the intelligence community, along with the press, for the downfall of his first national security adviser, Michael T. Flynn, saying on Twitter that “information is being illegally given to the failing @nytimes and @washingtonpost by the intelligence community (N.S.A. and F.B.I.?).”