Wherever they start losing sun the branches in those areas will start to die off. But yeah, plants are smart. If they’re not getting enough sun growing outward, they’ll put more energy into growing upward. That’s why you have so many tall, lanky/leggy trees growing in tall forests. A pine tree that I let grow in the backyard all alone looks like a giant shrub.