Thus, increases in gastric pH—which may be age-related (such as with atrophic gastritis) or drug-related (such as with proton pump inhibitors) —can decrease calcium absorption and increase the risk of constipation.