From the beginning. Mario has worn gloves since he was first created.
The practical reason was technical: early hardware struggled to render hands clearly, so white gloves made the animation readable on screen. The look stuck long after the limitation disappeared.