It really depends.
1. The cart battery was damaged even before you opened the package. You will never know this, especially for new games.
2. The cart was damaged due to transport or inhuman conditions. Like some of my carts saves stopped working and began working.
3. The cart has a save but the save is not reading. This has happen tons of times. It could be the game was not properly inserted, a dirty contact. It even happens with newer save devices.
4. The battery was cheap to begin with. Take pokemon.
Red and Blue games are still functioning but Gold and Sliver games are all erased. They say it is because of the storage trick that people used to cheat, and all the names positions. Long names + stats + item. Also the game also got data from all kinds of devices. Pokemon data had all kinds of data, on it. Nintendo had all kinds of things planned.
You know what, who really cares. To me they are just bricks of plastic gold, covered by cardboard, and drapped in durlar. They will stay that way because I am not taking them out for a very long time.