It's to do with how to weight is spread across the pipes, if you add a weight to the two the solid one will start to bend as the stresses are more evenly spread, (the top of the bar in tension and the bottom in compression), however it doesn't mean the hollow one is "stronger" as if you increase...