Pooping trouble


My daughter has started eating baby food for a week or 2 now and just yesterday her poop started to be really hard and once she pushes it out it’s soft like play dough but then it is mucusy. It reminds me when we found out she is allergic to cows milk. Could she be allergic to some of the foods she’s eating? Or is that normal for when baby food is being introduced?