. . "Removing part or all of your stomach (gastrectomy) can cause osteomalacia because your stomach breaks down foods to release vitamin D and other minerals, which are absorbed in your intestines." . .