But not only that why in so many designs are the caps orientated directly above the heatsinks in the convection path.
The simplest answers to that would be:
1- because that's where the output rectifiers are, especially in flyback converters where you need to minimize stray inductance
2- layout constraints (connectors, heatsinks and other mechanical or structural components have predetermined locations on a predetermined board size)
3- the final orientation was unknown and could not be taken into consideration for board placement
4- it simply makes sense to put them there from a PCB routing flow point of view
5- they simply put them where they had spare space
6- they simply didn't care
I'm sure there are many more possibilities.