Solids vs milk

Be

When do babies switch to getting the majority of nutrients from solids?

I KNOW BABIES NEED MILK UP TO AGE 1. I’m not asking that. I guess I’m curious as to what magically changes at age 1. My 9 month old goes HARD on eating his solids during the day and tends to not want milk. He is growing perfectly fine and is healthy as can be. Just curious about this as I’ve always heard that most babies prefer milk to solids