When the little ones are tiny fry they are see through. They gain color as they mature. It is one of the milestones of their growth. Fry of many fish if not all are like that. Maybe it was developed as a protection against predators. The fry that are invisable would be more liable to survive, grow up, and reproduce?