I would go by the sentience or intelligence of the animal and its relations to humans and human society rather than our feelings about them or what WE do with them.
Animals that have been domesticated by humans to live somewhat symbiotic with humans are not to be eaten. Neither are intelligent animals like dolphins. However, animals we have raised for food for thousands of years, or animals hunted and preyed on by humans, CAN be eaten, in our society
Paradoxical are birds. ANY kind of bird is edible. Although chickens have lived with humans for thousands of years, they have always been used for food. Intelligent birds such as parrots or other “pet“birds are intelligent and human-oriented though still widely wild. Other birds we simply do not eat for no reason at all, such as blue jays—though people do eat quail. These are just societal norms and mores which have very subtle but very strong ‘rules’, Kill an Eagle or whatever your state bird is and you could be in a heap of trouble even if your cat kills it and nothing happens