They kept it a secret because they didn’t want other countries to copy their idea and silk was an important piece of fabric that is imbedded into their background
They kept the methods of silk- making a secret because the Chinese kept silk-making a secret is because it was very valuable. It was also a valuable trade good in distant lands.