How does it make sense to feel or understanding the feeling of having an emotional connection to a pet, but thinking it's okay to choose to eat animals for food?

Just a thought from a vegetarian...