I'm sorry your ram died. They are notoriously finicky. It was probably due to stress. Fish, if they are not tank raised, get caught in the wild, shipped to wholesalers, shipped to pet stores, then brought home to someone's tank. That is a lot of change for a little creature in a short time. Some fish just dont do well with it and are harder to keep alive. Generally if your water is good and you can get them past the first month, then they're good for their life. Good luck with the rest of your fish!