Vitamin B12 from food needs stomach acid to be released from protein, and then absorbed in the intestine. When PPIs like pantoprazole are used for a long time, stomach acid stays very low, which can interfere with this process and slowly reduce vitamin B12 levels