19 month old refuses to eat food and ONLY will have breastmilk. I don’t understand why

So my 19 month old knows how to eat but he refuses, he ONLYYY wants breastmilk, I try to give him food and he takes a nibble then throws it and never will eat it, or just plain out tosses it

I’ve tried EVERYTHING. I tried any kind of food, he will toss it and only wants to breastfeed

Why is he like this? I dont understand why he refuses to eat anything! I don’t know how to get him to eat food, he only wants breastmilk and he’s at the age where he should be eating food, but when I try he doesn’t want it