I don't think this is a freedom of speech issue.
Instead, it's an issue that the private operators (codeberg & sourcehut) are looking to apply their own freedom of speech to take a stance against projects that have a high case of fraud.
You see the same thing from Stripe[1]: they ban similarity predatory systems from using their services & tarnishing their brand.