The meal is finished, the plates are cleared, and every instinct says lie down. The sofa is right there. The problem is that your stomach is not finished, it is, in fact, just getting started, and the position you choose in the next hour shapes how comfortably that process goes.
Digestion is partly mechanical. The stomach churns food against its walls, mixes it with acid, and pushes the resulting slurry through a valve at the bottom called the pylorus. Gravity assists that movement when you are upright. When you are horizontal, the stomach contents sit against a different wall, the valve is no longer at the lowest point, and the whole process slows down. That slowdown is not dangerous, but it is where the discomfort comes from.