LT-Spice RL circuit simulation ill behaved current
You need to start the transient analysis at zero volts, else it will start at a steady state of 5VDC with the current already flowing.

Add the keyword 'startup' to the .tran string, or tick the box 'Start external DC supply voltages at 0V:' in the simulation command panel.