I hear the same sort of thing happens to people when they get seriously sick vomiting furiously - the last thing they ate they find off putting for a time.
Apparently before I was 6 or 7 I loved fried eggs, after a bad hiding ... 45 years went by before able to tolerate them with a lot of hot or bbq sauce.