What causes the temporary color separation seen when a star flashes red, blue, or green?

Answer

The atmosphere acts like a prism, separating wavelengths

When the atmosphere is agitated, it separates different wavelengths of light momentarily, similar to how a prism works, because shorter wavelengths bend more easily than longer ones.

What causes the temporary color separation seen when a star flashes red, blue, or green?
lightstarskybright