The little bits of butter in your mixture release steam as they melt which expands to create pockets of air and fat throughout the dough. Once the butter fully melts, the tiny pockets left behind create separation between the layers of baked dough. This is what gives pastry its delicate, flaky texture and rich buttery finish.