I wonder if it is that pig are omnivores and hence smell of something that eats meat, and also smells disproportionately in regard to its size
I often keep pigs but only when I need to, so a lovely cheeky little Shetland pony 8hh, who had obviously never come across pigs in his life was very perturbed by the smell in the barn, when he was in his stable.
I thought the best thing would be an introduction ------- I wouldn't have ever imagined a "horse" of any description could have fainted, but by the time I had got him near enough to open the barn door, he was nearly on the brink of it. Of course once he actually saw the pigs he quickly re-gained confidence.
My interpretation is that an equine has a nasal overload of something that eats meat and imagines and "enormous elephant size" predator.
Although I feel horses and pigs may rarely become firm friends once they are properly and calmly introduced things calm down.