Trade secrets aren't supposed to have government protection, that's the entire point: they're risky. If you want a monopoly on your technology, you're supposed to file a patent. Trade secrets were invented as a riskier way to extend your monopoly by giving up government protection.
If the government is going to give trade secrets the same protection as patents (or even more, because patent infringement doesn't come with jail time), companies have zero motivation to publish.