Two situations I have similar reactions. For reference I am AuDHD, so not sure where these come from exactly.
The first is once I've had something too often I get tired of it to the point that it becomes extremely repulsive even if I couldn't get enough just days before.
The second is that my body generally tends to tell me when I have too much of something mildly harmful. That can be acidic foods, even though I absolutely love tart/sour things or fatty or salty foods. Often this results in nausea if I push past the repulsion. I do have GERD/reflux issues, treated with meds, so the acid thing might be related, but not sure about the salt thing, especially since I often crave salt and often get very dehydrated if I don't eat enough of it. Other things also do this that are not allergies (I've gotten tested), it something just makes me repulsed and eventually nauseous if I eat them despite enjoying the taste of them: crawfish, lobster, pineapple, anything with menthol like some artificial mint flavored things, and certain artificial sweeteners are a few that come to mind. Not sure if my body is just really good at telling me what I need, or there's some psychosomatic reaction going on to some past issues I might have had with them like food poisoning or something like that maybe. Or if any of that is related to any neurodivergence. But those are my experiences with food repulsion despite enjoying the flavor.