Baby colic is not necessarily related to the mother's diet. However, some foods may irritate the baby. If your baby is frequently colicky, you can keep a meal diary, noting what you ate, to identify any food that may be exacerbating the situation.