Most of the organizations often find it tough to select the best way of protecting their innovations. The decision of keeping it a secret or filing for a patent is something that pops up again and again. Filing for a patent requires them to disclose the innovation whereas maintaining a trade-secret may be risky for business. Further, if any of their competitors develop the same innovation and file for a patent, then the original organization can be stopped in the market from using its own innovation.
http://www.origiin.com/2018/11/14/selecting-between-a-trade-secret-patent/