To experience a shock, charge needs to flow from our body. A static chage remains at the surface and doesnt pass thorugh our body and hence we do not experience any shock. But a moving charge passes through our body and goes to earth, hence completing the circuit and producing current which gives us a shock.