After he concluded that Russia had interfered in the 2016 election, he became a target of the president’s anger.