The initial cause of such waste can be found in the animal itself: the pig is an "imperfect" organism. It's monogastric and monocavitario.
ENDOGENOUS FOOD CONVERSION FACTORS FOR THE PORCINE SPECIES
As energetic prime matter.
As energy for agriculture (synthetic fertilizers).
We "pay" for the elimination of the waste products.