It's the elephant in the room, textbook revolving door regulatory capture.
These folks are tax lawyers. They obey every ethical restriction placed on them by the state bars.
If they quit the federal government, where exactly are they to go to have a job?
The generalization of this principal to other government institutions (agencies, departments, offices including even the presidency) is one of the great problems of governance of our time. You can take the remuneration discrepancy as the "0=1" conclusion of a reductio ad absurdum argument against unfettered capitalism or as an argument that resistance is futile.
I do not believe there is any solution, actually, other than paying them enough to not want to go into private law firms :)