I think the surprise here comes from being fired for expressing an opinion that the tech community generally supports. When Damore did it, the community generally was against him, so firing him was celebrated. The lesson here is that these kinds of policies cut both ways.