Nowadays, using your real name is dangerous, lest you get swatted or an angry mob decides to get you fired because you made an off-color joke. Doxxing someone is viewed as a potentially violent act. It's hard to imagine anyone using their real name on Discord for instance, whereas in the days of IRC it was common.
Social media - starting with the very early ones: Six Degrees, Friendster, maybe MySpace? - weakened that expectation, but (someone tell me if this is accurate) my recollection is that Facebook was the first platform to require realname accounts. I agree with you about the current danger, and though I've never posted anything anywhere that I wouldn't stand behind - trolling just isn't my style - I have, reflecting the pov of my "internet generation", always felt super weird publicly posting anything under my real name.