The exact cause of constipation is not fully understood, but is mostly due to a combination of factors.
Colic is also a term often used to describe long periods of crying that mostly reoccurs in the early evening and this seems to be a phenomena that affects many babies around a similar time in the evening.