In this case the current is redirected from the hot wire to the ground. This is because the ground has less resistance to electricity and therefore becomes an easier path for the electricity to follow. It is safer to use an appliance or tool that is grounded. Theoretically, when a ground fault occurs, the electricity is supposed to travel via the ground wire to the ground source, not through the body. However, if moisture is present, the facts change.
Water is the world's best known ground source.
And water makes it easier for electricity to pass through the body. When wet, we actually become a better ground than the ground wire in a three-wire circuit. Normally, there is an equal balance between the current that travels in both the black hot lead and the white neutral lead. When a short or ground fault occurs, an imbalance results that can be detected. When this happens a message is sent to the GFCI and it is tripped in 1-40th of a second.