Because the food you eat needs to stay in your stomach for a period of time, mix with the gastric juice that helps digestion and absorption, and then slowly discharge from your stomach and enter your twelve fingers.
Standing up and walking immediately after eating will undoubtedly add many tension factors to the stomach out of thin air and destroy the normal working procedure.