Breastfeeding and Allergies

How do you know if your baby is allergic to what YOU are eating?

Also, how can you tell the difference between a baby not liking a certain food/the food not sitting well in their stomach vs them being allergic?

I'm confused on what to look out for but I'm almost certain my LO is allergic to these foods.