What specifically causes a geomagnetic storm to occur upon reaching Earth?

Answer

A CME slamming into the planet’s magnetic field

A Coronal Mass Ejection (CME), which is a massive cloud of magnetized plasma, travels much slower than light and causes a geomagnetic storm when it physically interacts with Earth’s magnetic field.

What specifically causes a geomagnetic storm to occur upon reaching Earth?
deviceweatherphoneimpactsolar storm