Actually, that's not a very good test. It could be there's a crack in the element that's taking in water when heating. GFCI trips based on current, not voltage so testing resistance isn't a reliable method.
Oh but it is. Ohms law relates voltage, current, and resistance and it applies here like everywhere else. Water causes an easily measured resistance. The resistance causes the ground current, and we are measuring that resistance.