Heavy wall tubing is more structurally sound than solid bar, is more resilient to bend, as well as lighter

...
On a per pound basis, steel pipe is stronger in bending but weaker in shear because bending distribution curve is triangular with minimum stress at center and shear stess distribution curve is parabolic with maximum shear stress at center
In addition, steel pipe is better (per pound) in torsion because most of the torsional load is carried near the perimeter of the cross section. This is why most drive shafts are hollow.
We know troque is product of tangential force and radial distance so in that way as radius increases torsional stress increases whereas at centre of shaft we have very less torsional stress so we can afford to keep shaft hollow