My coworkers wife made food but I'm going to refuse to eat any.
Why won't you eat the food your coworker's wife made?
Because she had a nasty attitude towards me during my stay with them.
It's understandable to be upset if you feel mistreating by her. Your coworker has not done anything and refusing his wife's food might hurt his feelings.
I'm going to go off on a tangent and bring up irrelevant details.
In order to maintain harmony with your coworker don't you think it would be best to try and get along instead of refusing his wife's food or bringing up irrelevant things to cause problems.