The narrative around fed jobs has changed recently too. A fed job used to be a lower salary, but much stronger job security. Now with the new administration government job security is gone, so federal jobs overall are simply not as attractive anymore.
Government organizations aren't very good at accounting for true inflation, so right now the salary + golden handcuffs combination is way lower than industry compensation, if you're competent. If you're not competent, and you're not doing anything, then you might as well stay.