WASHINGTON — When President Donald Trump mused last year about protecting immigrants brought to the United States illegally as children, calling them "these incredible kids," aides implored him privately to stop talking about them so sympathetically.
When he batted around the idea of granting them citizenship over a Chinese dinner at the White House last year with Democratic leaders, Trump's advisers quickly drew up a list of hard-line demands to send to Capitol Hill that they said must be included in any such plan.
And twice over the past two weeks, Trump has privately told lawmakers he is eager to strike a deal to extend legal status to the so-called Dreamers, only to have his chief of staff, John F. Kelly, and senior policy adviser, Stephen Miller, make clear afterward that such a compromise was not really in the offing — unless it also included a host of stiffer immigration restrictions.
As the government shutdown continued for its second day on Sunday, one thing was clear to both sides of the negotiations to end it: The president was either unwilling or unable to articulate the immigration policy he wanted, much less understand the nuances of what it would involve.
Both sides have reason to be confused. Each time Trump has edged toward compromise with Democrats, he has appeared to be reined in by his own staff, which shares the hawkish immigration stance that fueled his campaign. And Republican leaders, bruised by past experience with a president who has rarely offered them consistent cover on a politically challenging issue, are loath to guess at his intentions.
The result has been a paralysis not only at the White House but on Capitol Hill, complicating the chances for an ultimate resolution of how to protect hundreds of thousands of young unauthorized immigrants, the problem underlying the shutdown. And it has raised questions not only about Trump's grasp of the issue that animated his campaign and energizes his core supporters, but his leadership.
"There's a real sense that there's a disconnect between the president and his staff on immigration issues, and people on all sides are seeking to exploit that disconnect," said Alex Conant, a Republican strategist who advised Sen. Marco Rubio of Florida, one of Trump's rivals, in his 2016 bid for the White House. "This is what happens when you have a president who is not clear and consistent on what he will accept: It emboldens all parties to take positions that they won't compromise."
Sen. Lindsey Graham, R-S.C., suggested that Trump was in the thrall of extremists on his staff pulling him back from more moderate instincts on immigration.
"His heart is right on this issue; I think he's got a good understanding of what will sell, and every time we have a proposal, it is only yanked back by staff members," Graham told reporters on Capitol Hill on Sunday. "As long as Stephen Miller is in charge of negotiating immigration, we are going nowhere. He's been an outlier for years."
Miller, 32, has been the ideological architect behind much of Trump's immigration agenda and a tart-tongued and unapologetic true believer in the president's "America First" approach to the issue. A former aide to Attorney General Jeff Sessions when he was in the Senate, he cut his teeth on Capitol Hill as a lonely gladiator against bipartisan efforts to overhaul the immigration system and provide a pathway to citizenship for roughly 11 million unauthorized immigrants.
The White House had a quick retort for Graham, a onetime opponent of Trump who in recent months seemed to be growing close to the president.
"As long as Sen. Graham chooses to support legislation that sides with people in this country illegally and unlawfully instead of our own American citizens, we're going nowhere," said Hogan Gidley, a White House spokesman. "He's been an outlier for years."
The intraparty spat unfolded while Trump spent the weekend at the White House out of sight and off the airwaves, unusually disengaged, except for some phone calls, for a president who enjoys the limelight.
His only comment on the situation came on Twitter on Sunday morning, when he vented his frustration as the shutdown threatened to bleed into the workweek, complicating his plans for a trip on Wednesday to the World Economic Forum in Davos, Switzerland, and the runup to his first State of the Union address on Jan. 30.
"If stalemate continues, Republicans should go to 51 percent (Nuclear Option) and vote on real, long term budget, no C.R.'s!" Trump said on Twitter, using the abbreviation or a continuing resolution, legislation to temporarily extend government funding.
He was referring to filibuster rules in the Senate, which effectively require a three-fifths vote, or 60 senators, to advance major legislation, rather than a simple majority. Republicans have 51 seats.
And he took a tone far different from the one he used this month in pitching a "bill of love" to address immigration, posting on Twitter that, "The Dems just want illegal immigrants to pour into our nation unchecked."
Underscoring that hard-line position, his campaign released a TV advertisement featuring an immigrant who killed two police officers, and saying Democrats who refused to support a government funding measure without progress toward an immigration deal were "complicit in every murder committed by illegal immigrants."
(END OPTIONAL TRIM.)
Those who know the president best argue that leaving the legislative haggling to his staff is merely the style of an executive used to delegating the small stuff to his underlings.
"The misconception is that the president does not know what he does not know. In my experience, the reality is that the president knows what he does not know and does not think he needs to know it," said Sam Nunberg, a former campaign adviser. "He's a CEO. The tiny details are for his staff."
But Trump is also a showman who is intensely focused on pleasing the audience in front of him at the moment, a habit that some confidants believe has led to misunderstandings about what the president is actually willing to accept in any deal. He often leaves people with the impression that he agrees with them, stressing whatever position is convenient at the time.
Mark Krikorian, the executive director of the Center for Immigration Studies, a group that presses for less immigration, said Trump had maintained his tough line on the issue despite occasionally talking about a compromise.
"He seems to make commitments that he is not going to keep," Krikorian said. "His inclinations are hawkish on immigration, but he seems to like to be agreeable to people and nod his head when he's at a meeting and people are saying things, and try to make a deal."
Krikorian said that he did not subscribe to the "Svengali theory" of the White House that cast Miller as a puppet master on immigration, but that it often fell to him and Kelly to explain the nuances of certain terms or proposals to a president unfamiliar with them. The chief of staff alluded to that dynamic in a closed-door meeting with Democratic lawmakers last week and later in an interview with Fox News, enraging Trump.
Immigration advocates hold a darker view.
"The president should trust his instincts and cut a deal," said Kevin Appleby, the senior director of international migration policy at the Center for Migration Studies. "He is president and should not be the puppet of a few immigration restrictionist staffers, including his chief of staff. The perception is that they have total control over him, to the detriment of the nation."
Kelly, a retired four-star general who headed the U.S. Southern Command and was Trump's first homeland security secretary, has emphasized immigration enforcement inside the country rather than policing the borders while Trump has indicated that is not as high a priority for him.
On Sunday, Kelly fielded most of the calls from Sen. Mitch McConnell, R-Ky. and the Senate majority leader; and the House speaker, Paul D. Ryan of Wisconsin. The president was urged for a second day to step back from the fray, and for a second day he vented to aides that he wanted to do more to get involved.
Yet when Trump has become engaged, he has sometimes created problems for himself and his party.
Trump has demonstrated confusion over time about the details of immigration policy, including during a televised meeting in the Cabinet Room this month with lawmakers of both parties.
When Sen. Dianne Feinstein, D-Calif., said she wanted a "clean DACA bill," Trump quickly agreed, only to have Rep. Kevin McCarthy, R-Calif., the House majority leader, pipe up to explain that meant accepting a stand-alone bill to legalize a group of unauthorized immigrants brought to the United States as children, without any security measures or other conditions the president had cited as priorities.
During a closed portion of that meeting, Trump snapped at staff members for handing out a sheet of paper he had not seen before that included an elaborate plan for border security.
"The president looked at it and said: 'Who did this? This is way too much. I didn't approve this,'" Graham said on Sunday.
At that same session, he added, Trump had talked about a request of $18 billion for border security, and said he could build a wall for less.
"So what does the White House staff do a couple days later? They pitch a proposal for $33 billion," Graham said. "That's just not credible."