Vitamin B12 deficiency can result from several factors, including insufficient dietary intake (common in vegetarians or vegans), poor absorption in the digestive tract (due to conditions like pernicious anemia or gastrointestinal disorders), certain medications, or surgeries that affect the stomach or intestines. It can lead to fatigue, nerve problems, and cognitive difficulties if left untreated.