Today in the forest, I saw a tree that, in at least three places, had its trunk/branches changing direction exactly by 90 degrees. Any botanists around? How can this be explained?

Today in the forest, I saw a tree that, in at least three places, had its trunk/branches changing direction exactly by 90 degrees. Any botanists around? How can this be explained?
