Shortcrust pastry is made from fat (such as butter or lard) that's rubbed into the flour, while flaky pastry (puff pastry) is made from a simple dough with a brick of butter incorporated into the dough, making layers of fat throughout it. Shortcrust has a firmer texture and doesn't rise that much compared to flaky pastry, which expands a lot in the oven.