How can a head gasket leaking oil ruin a starter motor? on 2003 Buick Rendezvous

Mechanic says oil dripping on the starter motor has ruined it by somehow shorting it out.

poss it did.repair oil leak so it doesn't happen again then repl starter