
This is unsurprising, given that pigs do, indeed, have cloven hooves. However, there are other features that almost all artiodactyls have in common, most significantly, that they are purely herbivorous animals with multi-chambered stomachs that they use to "chew the cud". Pigs, however, do not, and while they may not be the only non-ruminating artiodactyls, they are by far the most species-rich group to fit this description.
Traditionally, this was thought to be because they are more "primitive", having evolved before their relatives got round to developing more complex digestive systems. In a more modern way of looking at things, we'd instead note that, compared with other artiodactyls, pigs are omnivorous; they haven't developed more efficient ways of digesting tough plant matter because they don't need to. That they've survived as well as they have, evolving over many millions of years without ever being wiped out, shows that this has been a pretty successful tactic for them.