It's simply because in general, Nintendo's games are well known for being of the highest quality available. That's the primary reason for why their games retain their value so well.
Edit: This article from nintendoworldreport also answers some questios as well. One reason being that a lot of Nintendo's games have a huge amount of replayability.







