The issue is that Elon Musk is highlighting them specifically in a negative way that will lead to very predictable, very personal, very negative outcomes without any recourse.
I see those as different in reality. We can argue that semantically they can get twisted around as the same thing (government employees getting publicly named in a critical way), but that ignores extremely relevant real-world circumstances.
But yes, there is a difference between media reporting on what high-level government officials are doing and government (or quasi-government) officials singling out low level employees for ridicule. It's the difference between punching up and punching down.
But this is not among the worst things Musk is doing, and if it were a right-wing magazine doing reporting on employees in the federal government rather than someone using their role within the government itself to do it, I might find it distasteful but would have no real qualms about it.
I do think it's bad to "doxx" people in the sense of sharing their addresses and phone numbers. But that's not what the article we're discussing does.
This article simply strikes me as normal reporting that is no different than "Treasury Secretary Bessent has hired so and so as an undersecretary for such and such, and this is what so and so has done and said in the past". These people seem to be working essentially at that undersecretary level. We always know who such people are, and we should.