With 2" of each end softened, it's easier to machine a custom end for mounting. The rest of the shaft is case-hardened, which increases hardness and wear resistance on the surface of the shaft while allowing the center to remain soft for absorbing stresses caused by shifting loads.