Food reaction?

La

I just noticed my 7 month old threw up in his crib this morning :( (my SO got him up for the day and didn’t see it). Is it possible to have a food reaction almost 24 hours later? He tried tomato yesterday morning (not sure he ate much at all) but that’s the only new food he had. He doesn’t seem ill and doesn’t seem to have any other symptoms going on. Would this be a food reaction? Or just some sort of random occurrence of getting sick?

He’s had a cold for a week or so, and has been coughing on and off... so I guess it’s possible he coughed so hard he threw up?? I didn’t hear anything strange on the monitor and I’m pretty sure I was awake 🤔