When you have had a bad experience with a food and so go off eating it for a while.
Often people who claim to have allergies are really just holding food grudges.
Ever since I drank too much at that Christmas party I've had a food grudge against fruit cake.