Dogs and horses are not ruminants, therefore they are more likely to carry parasites that are harmful to humans. Cows and sheep are both ruminants. So yes, there is a difference beyond cultural preferences. Or I should say, cultural preferences are not just arbitrary.