It's largely arbitrary.
Your culture is what tells you it's acceptable to eat a dog but not a cow. If you lived in Belgium or Kazakhstan you'd feel fine about eating horse. If you lived in parts of India, eating beef would be as unthinkable as eating dog.