The origin of the word "sore loser". This much makes more sense than using the phrase with a "sore" in it. Sour comes from the phrase, "Sour grape". A big misconception of that figure of speech.
To whine or sour grape
To whine or sour grape
by Craig Thomson October 02, 2013