It was upending his psychiatry practice because he blogged, albeit in anonymized fashion, about his patients without disclosing it to them which I'd say is unethical but at the very least in the interest of his patients to be made known to them. I would be pretty pissed if I recognized something I told my psychiatrist on an internet blog. Frankly given how strongly one has to consent to even legally process clinical data I've never been sure if that was at all legal.
When someone's identity is in the public interest an investigative journalist isn't doxxing anyone, they're doing their job. Both true for Nakamoto and arguably Scott