Parents have natural urges to have kids (literally, evolution!). So it is self-explanatory.
Non-parents will need a younger generation when they grow old for satisfying all the Maslow hierarchies of needs (food, medical care, entertainment, funding social safety nets etc). So the ones who are not producing any kids by choice are consciously offloading their old-age care and hence act selfishly.
People in both categories may not be aware of their own flavor of selfishness.