Hard stool

Emily

What would cause my baby to have hard stool here recently out of the blue? Nothing has changed in his diet he’s 4 months and on formula.