Pigs are pretty smart, too.
The criteria for edibility is mainly ugliness vs. Cuteness.
Octopuses are recently getting more media attention with that movie about the diver that made friends with one so they are getting cuter.
Try farm raising and eating baby penguins you'll get the same reaction even though penguins are dumb AF. It has nothing to do with intelligence.