Hashem could have made a system that produces food within us; sunshine and the air [could] combine with the water that we drink, and food and starch [would be] created inside of us like plants.
But no – Hashem wanted the food to come from outside of us, because the food teaches us that He is the one that gives us the food. ~ Rav Avigdor Miller zt”l