This is the justification given in the Quran - pigs are called “filthy”. The pig remains a symbol of disgust even in cultures that consume it - see how Ukrainian memes portray Putin and Russian soldiers with pig caricatures.
edit: also Sparschwein
even more edit: I grew up in a part of Bonn Bad Godesberg called Schweinheim. Steep hillside up to the plateau of the Kottenforst.
Has been used as so called 'Hütewald' in old times, because it wasn't good for much else, because too steep.
Grunz!