Some health conditions, like cystic fibrosis or inflammatory bowel disease, affect how well the body absorbs nutrients, including vitamin D. And because vitamin D is a fat-soluble vitamin that gets stored in the body's fat cells, obesity increases a person's risk for vitamin D deficiency.