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.