7 month old doesn’t want to eat

My son is 7 months old and he has always been a good eater.. but today and partly yesterday he just has not wanted any of his bottle or any solids whatsoever.. he doesn’t have a temperature.. he is getting fussy like he wants food but will only have maybe 2oz then completely stop and wrinkle his nose and spit out the bottle.. solids he just won’t do at all.. I’m starting to get worried.. any ideas or advice?