This is based on the principle of superposition, a fundamental concept in geology. Superposition states that in undisturbed rock sequences, the oldest layers are at the bottom, and the youngest layers are at the top.
Think of it like a stack of pancakes: the pancake you put down first is at the bottom, and the pancake you put down last is on top. The same principle applies to rock layers!