In the time to Come the Holy One, blessed be He, will announce "Anyone who didn’t eat pig’s flesh may come and collect his reward." It is difficult – why announce about a negative mitzvah of eating, any more than the rest of the negative mitzvahs of other forbidden activities which do not pertain to eating. Further, why make such an announcement about pig, and not about the rest of the impure animals and torn animals [which are also forbidden to eat]?
According to what is said about the Yetzer Hara, that it is made from the power of the pollution of the primordial snake, who caused Adam and Eve to sin and this is the reason why it is fitting to blame him for all the sins. And in particularly the sins of forbidden eating, for the sin of Adam and Eve – from which was drawn the pollution of the snake, from which the lowly Yetzer Hara comes – it was the sin of eating from the Tree of Knowledge. But this was [the Tree of Knowledge of] good and evil, as stated in the verse, and the good was revealed, as it states: "and the woman saw that the tree was good for eating", that the good was revealed in it and she saw it, but the evil was submerged within it like the venom of a snake which is hidden within it and is not seen from the outside.
The pig is similar to the tree which, contained good and evil, for it possesses a sign of purity which is revealed and visible from the outside – it has split hooves, which is visible to all. But it has a sign of impurity in that it does not chew its cud, and this sign of impurity is hidden and not openly seen. Thus it is explicitly stated in the verse, "the pig, because it has split hooves and does not chew its cud, is impure to you."
Read the full article:
https://www.chabad.org/kabbalah/article_cdo/aid/2518058/jewish/Permitting-the-Pig.htm