In the early years, before civil service, the federal bureaucracy would be mostly replaced with every change of administration. It helped keep things under control.
We also need to limit the offices needing Senate approval to just the cabinet secretaries, and maybe their immediate subordinates. Three years in, and Trump STILL has mostly Obama holdovers running things.
It was called "The Spoils System" (appointing cronies and supporters to Fed Jobs). Around 1883 the present system was introduced as they thought it would stop the chaos that resulted after a different political party won the Presidency.
What could go wrong?