DS went through a few days of this here and there. He would take his bottles just fine, but would not want to eat anything. One time, he had an ear infection. I was shocked when the doctor told me because he wasn't showing any other signs of discomfort. The other times, it's been teething, or a cold. He usually snaps out of it within the week.
Are you talking about purees or table food? Because DS started flipping his shizz at purees and it turned out he was just wanting to feed himself.