Don't worry kids have their own way. If he is eating his rest of the meals normally and missing out on dinner than I don't feel its anything wrong with your little one . For hard stools make him drink lots of liquid and give fibre rich diet. Please get an ultrasound
done to rule out any pathology if he is complaining of constant pain.