A poor diet (one that's full of processed junk food) is oftentimes mineral-deficient. Very restricted diets, such as keto or veganism, can also lead to significant mineral deficiencies. If your body struggles to properly digest food (like due to leaky gut, parasitic infections, food intolerances, etc...), you can also be deficient in minerals. Even certain medications can impact your absorption!