Absolutely. A beam oriented horizontally has a minor fraction of the rigidity and load-carrying ability as one oriented vertically. Beam strength is largely a function of its vertical face height. Cross-sectional area is a minor factor.
To demonstrate this to yourself, try bending a sheet of paper laid flat on a table with respect to its width. It can't practically be done. Now try bending it with respect to its thickness. Floppy as can be, right? There's your answer.