The reason why so many early 1990s UIs have this kind of color scheme is part fashion and part technological opportunity.
Rainbow pastel colors were really popular around 1986 - 1993. It was a reaction to the muted browns and oranges that characterized '70s and early '80s design, and also a reflection of the economic optimism of the era.
At the same time, computer displays evolved beyond monochrome (original Mac) or garish 16-color palettes (PC EGA). With 256 colors out of a palette of millions, it became possible to display those fashionable pastels on a computer too. So why hold back?
(Personally I'm still stuck in this era. Light background is a must. I never use dark mode on anything. I genuinely don't understand the kids who want their IDEs in black like some depressing 1982 textmode VAX. For me it's warm pale yellow and baby blue terminals all the way; extra bonus for dark purple text highlights and a mint green piqué shirt.)