Why is cow called “beef” and pig called “pork”?

Language is funny sometimes, especially the English language. Not only is English an incredibly difficult language to learn but there are so many different words for the same thing depending on where you are. For instance, In America it is a truck. In England it is a lorry. In America, you’re a guy. In England you’re a chap. In Australia, you’re a bloke.