A diet that is low on fibre content may cause constipation. Dehydration, a high intake of sugary foods may also affect Defecation. Fibre-rich food is essential to help the body absorb water to soften the stool and make it transit smoothly through the digestive system. Decreased intake of water or dehydration causes hardening of the stool.