Take care when brushing the puff pastry with egg wash before baking. Try to keep it only on the top and don't let it run down the sides. If egg wash runs down the sides, it will harden as it bakes and can act like glue to bind the layers of pastry together.