In the rainbow formation , the diagrams speaks about the light ray entering a water droplet and gets refracted .. gets internally reflected.. and gets refracted again and exits the droplet.
Now the question is .. why do the colours split when the light ray gets refracted the first time , but when it's refracted again and exits the molecule it does not combine to form white light again.
If it splits in first refraction why not join in the second ?
The same question applies to a prism too.