Governments must win over the voting population, so no shit they seek to appease the biggest group.
Well, there's the answer to the first part of your statement. Pensioners vote. if other sectors of the population are disgruntled that governments favour pensioners because they reliably vote, perhaps they should get out and reliably vote and make their voice heard.