Fatty liver occurs as a result of the cow breaking down too much fat for the liver to process properly.
Fat mobilisation occurs as a result of negative energy balance. The broken down far is then converted back to fat in the liver to prevent them becoming toxic.
Thus the liver becomes fat when the cow is losing condition, the more loss in condition the more fat in the liver.