I, a man, "foolishly" told a female coworker with the same position what raise and salary I got. I had negotiated 10% more pay than the base offer, she hadn't. She went to HR and dragged my name and salary through these proceedings, arguing a woman was getting paid less to do the same job as a man. Nevermind I had a masters and was faster and more versatile as a worker...she got a much bigger raise than I did so her pay ended up equal to mine, despite lack of negotiating or higher Ed or better performance.
HR responded by sternly telling me I should not discuss salaries. Why not? So you can underpay people? There's literally zero reason other than that for us to not discuss it. The CEO literally owns a dozen Tesla's, pure unadulterated greed on his part.