I think the way people are raised has a lot to do with it. My parents were not poor. They weren't rich, they still aren't rich, they just put their money into what matters most to them. My dogs matter most to me.
I grew up on a ranch and was left to my own devices quite a bit. My brothers, when they did live with us, are much older than I am, particularly when they were 18-20 and I was 6-7. Rather than deal with my all-adult world outside of school, I would seek out the company of animals. They were my best friends, they still are my best friends. What kind of friend would I be if I just cast them aside? While I've never experienced starvation firsthand, I do know just how terrible it is. It doesn't change the way I feel about my animals.
I'm not having a go at you in particular, M&M's Mommy, what you said just reminded me of something:
I could not take away food/toys/care for my dogs in order to give money to another person. If I need to spend money on something, I am the one that compromises. I take that money off of the funds that go towards me, not those that go towards my dogs. My dogs give me so much and ask so little, I can't do something like that and still feel that I'm doing right by them.
Animals are pure, innocent and seriously underappreciated. I would feel immense guilt if I treated my dogs as if their well being was secondary to that of people I've never met.