Baby doesn’t eat well HELP

Chi

Hi everyone so my daughter is 1 and you would think she would love to eat everything! Well she does for the most part but for the past month I’ve noticed when she eats she will put it in her mouth then take it out and look at it to throw it on the floor before she used to eat everything without doing that and I thought it was just a phase but it’s been two months now and it’s like she’s not eating anything unless it’s carrots and peas or french fries she also lost weight because she started doing this she’s never been good at gaining weight so I felt like this just adds to her weight problems does anybody else’s baby do this??? Is there a trick to make it stop.