Is there a condition where your body doesn't absorb nutrients?

Yes. Malabsorption is the inability of the small intestine to absorb nutrients. Causes include celiac sprue, whipple's, and a bunch more. Maldigestion is the inability of the pancreas to break down food for absorption. They may be linked together as "malabsorption".