The liver produces bile (excess bile is stored in the gallbladder). The purpose of bile is to help degrade lipids, or fats, into forms that can be absorbed.
So, if there is damage to the liver, this can cause less bile to be produced which will negatively impact the digestion of lipids.
Hopefully this helps!