Is it normal for baby to constipated sometimes?

Mi

The other day he was constipated for like one time, and then he started pooping normal again and now he’s a little kinda constipated with a little kinda solid poop with mushy.