Some Trump loyalists had come to consider the West Wing’s chaos a ladder for personal ambition, back channeling to the president and influencing the government in ways beyond the scope of their positions. But once their wings were clipped, they sought to undermine Kelly, in ways the new chief of staff did not necessarily see.