>Pigs are as smart as dogs. Why do we eat one and love the other?
Well, we don't eat people with mental issues either, or think it's OK to eat them just because they aren't "smart".
It was never about the smartness, it's about the utility (including being a guardian, keeping company, etc), breeding capabilities/size, and/or taste.
Plus customs. Some cultures do eat dogs. Some don't eat pigs.