Gastrinoma leads to the secretion of large amounts of gastrin which leads to increased acidic levels in the stomach leading to peptic ulcers and diarrhea.