The most common cause of constipation in a kitty is inadequate fluid intake. Cats are by nature infrequent and inefficient water drinkers. They depend on their diet for the majority of their water intake, which is how nature intended things to work.
But herein lies the problem. Many cats are fed dry food, which isn't the food they are designed to eat. Cats are obligate carnivores designed to hunt mice.