A major genetic difference between humans/higher apes and pigs is that they do not share a working version of gal-transferase.
That gene is called galactose-alpha-1,3,galactotransferase — gal-transferase for short . All mammals except humans and higher apes have a working version of gal-transferase, which coats cells with an antigen. This means if pig tissue is transplanted into humans our immune system will mount a drastic rejection response as our bodies detect the antigen and attack it. Pigs weren’t part of that lineage. This is a fact, established by comparative research on genomes. Humans are closely related to chimpanzees (and gorillas), with whom we share this missing gene.
source: evolution – Are humans descended from chimp-pig hybrids? – Skeptics Stack Exchange