It is a really simple matter of incentives.
If your backlog is full of feature requests you will add features.
If your backlog is full of tasks to reduce memory usage, speed up areas etc., then that is what you will do.
Most programmers will have no choice whatsoever.