I start by preheating my oven to 400°F and lining a baking sheet with parchment paper. On a lightly floured surface, I unfold one sheet of puff pastry and use my rolling pin to shape it into a 9×12-inch rectangle. Keeping the pastry cold at this stage makes all the difference for a good rise.
Using a sharp knife or pizza wheel, I cut the rectangle into one large triangle, then save the scraps to cut a small 3×2-inch rectangle for the trunk. I place the triangle on my prepared baking sheet and set the trunk piece right at its base.
In a small bowl, I stir together the raspberry jam and minced rosemary until combined. I spread this mixture in a thin, even layer across the triangle and trunk, making sure to leave a small border. Less filling here always bakes up better than more.
I repeat the rolling process with my second sheet of puff pastry, cutting the same triangle and trunk shapes. I lay these pieces directly over the jam layer, pressing gently so the two sheets stick together without squishing out the filling.
Starting about 3 inches from the top of the triangle, I make 1-inch cuts down both sides, leaving a 1-inch strip uncut straight down the center, which keeps the tree in one connected piece. I whisk the egg with the tablespoon of water, brush it generously over the top, then twist each cut strip outward to form the branches.
I slide the tray into the oven and bake for 12 to 15 minutes, until the pastry is puffed and deeply golden. Once it comes out, I let it rest for a minute or two on the pan before moving it anywhere.
Right before serving, I dust the whole tree generously with confectioners' sugar for that classic snowy look. I serve it warm, straight from the oven, while the pastry is still at its flakiest and the branches pull apart easily.