Eating a lot of high-fat meats, dairy products and eggs, sweets, or processed foods may cause constipation. Not enough fluids. Water and other fluids help fiber work better, so not drinking enough liquids can contribute to harder stools that are more difficult to pass.