If you had a choice between using Surf and Ice Beam as your last attack and you needed a crit to win the match, you would obviously choose Ice Beam, due to the Freeze rate, over Surf thus you're taking the move that would give you a more probable victory.
Just like your scenario, if you were...