How does placing cap between signal GND and earth GND solve common mode noise?
The commom mode noise exists between both the power supply lines and the reference GND. Without any measures, the commom mode noise is visible at the load over the stray capacity to GND. If you put caps from the supply lines to reference GND, the circuit of the noise source is shortend before reaching the load.