Food is an instruction manual for the body.
Fiber reaches the gut bacteria, which break it into smaller pieces. That unlocks the sensing cells in the gut lining and prompts them to put out hormones. Protein drives one of the strongest hormone responses. Fat drives a different one. Each nutrient is read separately.
The body doesn't pick those hormones at random. The food sets the response. Salmon triggers one cascade. A salad triggers another. A candy bar triggers a third. The gut is reading the chemical makeup of what it receives.
Meal composition is metabolic input. The gut makes the exact signals that tell the brain what just arrived. Feed it processed carbs day after day, and that becomes the manual the gut learns to follow. Feed it fiber and protein, and the gut learns a different one.
Food is a set of instructions. It sets which hormones the gut produces, and that sets which signals reach the brain.