It's more methodical than that. It starts with a PR to introduce a code of conduct. If it goes through, maintainers are picked apart looking for any little thing. Discord messages, tweets, comments on github issues. When there's leverage, suddenly the project needs a "community moderation" board, basically an "elected" group of a few people to weed out problematic users. Truthfully though, they don't even need this. They can just look at other people being mean and that's enough too. Can't be mean on github! You MUST implement the COC or people will feel unsafe!
Have a COC already? Tough shit, that one sucks and we want this one instead.. Anyone that doesn't suck down the new COC or is problematic in any way is unceremoniously cast aside.
If the PR doesn't go through, the project is clearly ran by nazi chuds and any collaborating companies or sponsors are suddenly having girltalks at 2am.
The COC is a trojan horse to smuggle in trannies and faggots under the guise of "this project needs to be welcoming to everyone!" - however the people that are made welcome don't ever contribute anything. Unless you count moderating a discord server or posting tweets as contributions.