she won't let herself starve hun so don't stress too much. It could be she's waiting for the 'sweet' things to come out when she doesn't eat what she is first given..maybe try giving her what she is supposed to eat, if she doesn't eat it then take it away and offer it again in 30 mins/1 hour. Babies, like dogs (lol), won't let themselves go hungry so once she realises that is what she has to eat then she will probably eat it.
But they are going through a lot of developmental things (mentally and physically) so that could be affecting her appetite as well.
I know DD has days where she will only eat one thing off her plate, like the mashed potato, and won't want to eat anything else, but then the next day will refuse the potato and only eat the carrot or something