There's no law against resigning from the government for a private job. This reminds me of the woman--I forget her name--that the Trump administration worked so hard to get confirmed as #3 at DoJ, only to see her resign for a big--i.e., big money--corporate job shortly thereafter.
U.S. Attorney WDTX
U.S. Attorney John F. Bash announces his resignation
At 39, I would guess the job he's been offered is far too good to pass up - $$ security for family. The replacement is currently in DC, formerly in his office, and has a National Security background. I think that person takes over the "unmasking" and 702 investigation. Not done.
You can read about John F. Bash III and his wife Zina Bash and decide for yourselves whether they need to be concerned for the financial security of their family--which, as far as I can determine from Wikipedia, consists of just the two of them. [My bad--it turns out they have a daughter to provide for.]
I'm sure neither of them care about respect from the likes of me.