This entire question comes under the subject of phototropism.
Regardless of whether we’re discussing deciduous or evergreen trees in the northern hemisphere, there is little justification for evolution to take a hand here. An important factor has already been mentioned – the fact that the sun rotates around us in an East/West direction. The light requirements for photosynthesis to take place are very minimal and so as long as a reasonable amount of sunlight reaches the leaves for a few hours daily, that’s adequate for the tree to photosynthesise. It’s a misconception that bright sunlight is needed for the purpose.
Deciduous tree leaves do indeed rotate via their petioles to maximise the gathering of bright sunlight, but it varies from species to species and in general, the ability to do so is not vital for the tree. Conifers and other species demonstrate a similar but lesser ability to rotate their needles towards the sun. Nevertheless, leaving aside conifers, Holly species tend not to demonstrate leaf rotation and neither do cycads and most Eucalyptus species.
You also must consider trees that grow on the sides of steep, forest slopes where the individual trees gain more light from the downward angle than the upward angle. In these circumstances, there is little to gain from leaf or needle rotation as the trees behind others are effectively hiding the sunshine from those below them due to their higher elevation. The slope itself will also intercept the incident light. Vast forests throughout the world manage to photosynthesise with negligible phototropic response in these circumstances.
Phototropism is a vast and fascinating subject as are all tropisms and I’ve only skirted around the subject in my answer to be honest. Stem, branch and trunk phototropism is another matter.