A day after White House Staff Secretary Rob Porter resigned amid allegations he physically abused his ex-wives, the Trump administration is still struggling to contain the fallout. The question of who knew what, and when, is being hotly debated in the West Wing. Chief of Staff John Kelly, whose relationship with Trump has been strained in recent weeks, is taking the lion’s share of the blame, as I reported yesterday. On Wednesday night, Donald Trump vented to advisers that Kelly had not fully briefed him on Porter’s issues with women until recently, two sources told me. Trump was also not aware of the severity of the alleged abuse until yesterday, when Ivanka walked into the Oval Office and showed her father a photo published in the Daily Mail of Porter’s ex-wife with a black eye. “He was fucking pissed,” said one Republican briefed on the conversation. According to a source, Ivanka and Jared Kushner have been discussing possible chief-of-staff replacements. The problem is there’s not an obvious candidate waiting in the wings.

West Wing staffers continue to wonder why Kelly would keep the Porter allegations from the president, and why he defended Porter so aggressively when presented with allegations by the Mail. Porter’s history with women had been known to Kelly for months, a source familiar with the matter said. (Porter has been working with a temporary security clearance because the allegations surfaced in an F.B.I. background interview.) According to a source, Kelly at first pushed back when White House officials wanted him to issue a second statement walking back his initial strong defense of Porter. Kelly ultimately wrote that he was “shocked by the new allegations.”

The crisis also raises questions about Hope Hicks’s decision-making, and whether her romantic relationship with Porter clouded her judgment. According to a source, Hicks did not get a sign off from Trump for the White House’s initial statement defending Porter, in which Kelly was quoted calling Porter a “man of true integrity.” She drafted the statement with her close friend, Kushner’s White House spokesman Josh Raffel, whom she’s known since their days working for Manhattan P.R. strategist Matthew Hiltzik. This morning, Hicks continued to defend Porter in private, a source said, telling people she thinks the allegations aren’t true. In recent weeks, Trump has been angry at Hicks for her role in approving interviews with Michael Wolff, a Republican close to the White House told me. (The White House did not respond to requests for comment.)

There is a sense that the Porter situation may finally push Trump to move against Kelly, according to several Republicans close to the White House. Last night, a source said, former Trump campaign manager Corey Lewandowski called Trump and urged him to fire Kelly.

Hicks’s job, meanwhile, seems safe, even if the president is angry with her. As Trump’s gatekeeper, she’s one of the most powerful people in the White House, protected by Trump almost like a member of the Trump family.

This article has been updated.