Think of the 20 amino acids like letters in an alphabet. The same letters that spell STOP can be rearranged to spell POST. Identical building blocks, entirely different meaning.
Peptides work the same way. Link amino acids in one order and you get a growth signal. Rearrange those exact same blocks and you get a pain reliever. Sequence dictates function.
The same 20 amino acids that build a hunger signal also build a pain reliever. The difference between them is not ingredients. It is order.
The instructions are not in the ingredients. They are in the order.