Scuffed pistons, and cyl wall

What causes the pistons to scuff, on the side facing the outside of the block.
Is this caused by overheating or lack of oiling to the cylinders or?