Answer:
The polypeptide chain synthesised by living cells has amino acid composition in a way which allows its proper folding and hence makes it soluble. Hydrophobic amino acids are hidden inside and hydrophilic polar amino acids are exposed on the surface. The polar ones interact with each other to make hydrogen bond and other bonds which makes the polypeptide structure more compact, stable and soluble.
When the polypeptide is synthesised in lab with random amino acid composition, the sequences do not fit properly with each other. Hydrophobic side chains are exposed on surface and get aggregated due to which the polypeptide becomes insoluble and precipitates in the solution.