You think this is why God called pigs “unclean” animals? Hmmmmm...what does God know? Hmmmm.....
This is all above my pray grade but I suspect that is tradition and not commandment.
Now I'll sit back to await my flogging.
Jewish tribal elders figured out that pork tends to have a nasty disease associated with it.
From the CDC website
“If you eat raw or undercooked meats, particularly bear, pork, wild feline (such as a cougar), fox, dog, wolf, horse, seal, or walrus, you are at risk for trichinellosis.”
Most if not all those foods is unkosher.
I also believe that there is the fact that pork is the nearest in aroma and taste to human flesh. Indirectly not eating pork might cut down the rare cannibalism.
Since the laws about swine being unclean came from the book of Leviticus we have to assume that Jews from Adam to Moses in his youth ate pork without God condemning them. If swine is so unclean why would God allow Noah to bring Swine into the Ark?