No one is forcing you to use "Silicon Valley" products. There's already a precedent set in the courts when a bakery refused to offer service to a gay couple because of personal beliefs.
Likewise, Twitter et. al. are simply following the same precedent set to enforce their values in the products they offer. The social media app is not public square and no one is certainly entitled to use it.
Again I'm talking from sovereign point of view. You don't want Silicon Valley companies to control your country's information flow. There's no guarantee that those companies won't ban the account of government apparatus for whatever reason.