My tiny little brain had it backwards. According to M-W on line, in a solenoid, the input is electrical and the output is mechanical. So

A) I thought the output of the solenoid in the car was electrical so what gives here?

and

2) What *do they call it if the input is mechanical?