Food is an instruction manual for the body.
Fiber reaches the gut bacteria, which physically shred it into smaller pieces. This unlocks sensing cells and forces them to release hormones. Protein triggers massive hormone release. Healthy fats trigger massive hormone surges after meals.
The body doesn't decide arbitrarily what hormones to release. Food programs that response. Salmon triggers one hormonal cascade. A salad triggers another. A candy bar triggers a third. The body is reading the chemical composition of what it receives.
Meal composition is metabolic input. The gut manufactures the exact signals that tell the brain what's happening. If the body consistently receives processed carbs, that's the instruction manual the gut learns to follow. If it receives fiber and protein, the gut learns a different manual.
Food is a set of instructions that determines what hormones the gut releases, which in turn determines what signals reach the brain.