The pin is case hardened the hook is not. Most of the ware happens to the hook. Done properly a built up hook repair can result in an undetectable repair with full contact between the barrels and the breach face.

It is not the only way and may not be proper in all cases but if the hook is worn it is less invasive and less expensive.