The President gets elected into office by the people who are onboard with his objectives for the country.
He selects his cabinet on who he wishes to have in it with input from many Senators, Congress men and women plus his inner circle of advisors.
For example Jeff Sessions wanted the AG post and was given the position for his service and loyal support in return.
Huge mistake.
Wray was recommended by the acting RINO AG Goldsteen who obstructed the Republican congress at every turn.
Wray is nothing but a self indulging "Swamp Rat" who is out of his depth in the position both in the legal and operational functioning of the FBI.
Gina Haspel is another career "Swamp Rat" who was promoted to a position way above her capability and is out of her depth.
Esper should know that he cannot badmouth the call of the President and still be in charge of the Defense department.
What he did was a huge No, No.
Mad Dog Maddox was no better.
So it is the Presidents call and so it should be, all difference must be settled outside of the media and no grandstanding by any staff should ever be tolerated.