1. By inserting a resistor, it is possible to prevent charge from flowing into the cable all at once and to maintain electromagnetic field radiation. Specifically, it serves to let the charge flow slowly into the cable over a period of several milliseconds.
2. The resistor is also important from the standpoint of preventing electric shock. If GND becomes charged without using a resistor, there is a risk of electric shock, but inserting a resistor gradually removes the charge and reduces this risk.