Toddler wont eat meals

Hi my toddler is almost 19months old and within the last month or so he has decided he doesnt want to eat his meals propperly. Ill make him things i know he likes as he eaten it multiple times before but the all of a sudden hes decided he doesn't like these certain things or he even wont try something that hes never had before. Im starting to run out of ideas on what to make now as i am certain he wont eat it. He loves egg but today decided he doesnt and didnt eat it. Has this happend to anyone else? If so is it just a phase? x