Trump, who fretted about the shutdown’s impact on the economy and his personal popularity, cast about for blame and pointed fingers at his staff — including Kushner — for failing to resolve the impasse, according to aides.

At a meeting Wednesday with conservative groups, the president accused former House speaker Paul D. Ryan (R-Wis.) of having “screwed him” by not securing border wall money when Republicans had the majority, according to one attendee, Mark Krikorian, executive director of the Center for Immigration Studies. He said Ryan should have gotten him money before he left but he had no juice and had “gone fishing,” according to two attendees.

Ryan had warned the president against a shutdown and told him it would be politically disastrous, according to a person familiar with their conversations.