No, generally lactulse is a safe drug and does not cause this reaction when used in normal doses.In higher doses it can cause cramps. May be you have to reduce the dose
please find out what was the cause of constipation
in the child and whether child needs any investigations for constipation.
Also you can check for dietary modifications with your doctor.