It can be caused by not eating enough foods rich in vitamin B-12 or folate, or your body might struggle to absorb or use these vitamins properly. Issues like gastric surgeries, digestive diseases, or even certain medications can also interfere with absorption.