Explaining large current spike in RC circuit for multisim simulation
When S1 is opened the capacitor charges through the relay.

When you close s1 you short out the capacitor leading to very high currents.

The one ohm resistor is in the capacitor switch path  and changes it from a dead short to a resistive path.