Constipation is typically related to diet and lifestyle, but it may also be caused by some supplements and medications.