Perhaps from the rhyme "Taffy was a Welshman, Taffy was a thief.." but another suggestion is that English bookmakers were in the habit of crossing into Wales to avoid paying out debts.