"...
What about being in the sun?
Since your body can form vitamin D from sunlight, you would think that spending time outdoors would give you enough vitamin D. People come to expect this even more so here in the Sonoran Desert with well over 300 days of intense sunlight each year.
The problem is that cloud cover, time of day, smog, skin color, clothing, and sunscreen all can change your skin's production of vitamin D. We also don't know if the increased risk of melanoma would be worth the extra sun exposure needed. [15] Surprisingly, whether you live in northern Canada or southern Mexico it seems to have no bearing on vitamin D from sun exposure. [16]
One study looked at vitamin D levels of Hawaiian surfers who averaged 15 hours per week in the sun over the last three months. Their Vitamin D levels were as low as 11 ng/ml, which is severely deficient. [17] Findings like this have led some to speculate that water sports, bathing, and showering, may make our skin less able to absorb Vitamin D.
Besides diet and sun, why else can vitamin D be low? ..."
https://www.huffpost.com/entry/why-would-i-be-low-in-vitamin-d_b_8546144