He probably had the key ON when he connected the battery cables. Little spark jumped a bit. Maybe he has headlights that come on with the key???? Or the solenoid is shorted closed slash welded from amperage strikes when the key goes to start???
OP doesn't know what a solenoid is. Probably...