Did you forget to feed it?

Or perhaps it was sick and you didn't notice.

You do need level 3 environment to maintain this fish but you can get away with level 2 if you sell them as soon as they reach adulthood (age 20).

Once you discover a magic fish it always stays in your trophy room even if you sell it, or if it dies.