To reproduce:

1 Build "tube" of any solid block as high as you want, with "open edges"

2 Plant sapling and grow it with bone meal.

3 Remove leaves to see, where wood replaced the solid blocks of the tube.

I suppose the kind of the solid block does not matter.