How many rats are in the tub, what sexes/age are they, and what was the one that died? It's normal for rats to eat their dead, but we need more info to know why the rat died. It's not too common, but babies do die or are killed by the mother because of defects.