President Trump’s deputy national security adviser and first lady Melania Trump’s chief of staff are among those who quit.