The story
Picture a clear Texas afternoon. The sky over the school is bright blue. Later, the same sky turns orange near the horizon. The Sun has not changed into a different kind of star between lunch and dismissal. The route its light takes through the air has changed.
Sunlight contains many colors. Each color has a different wavelength, the distance between matching parts of a light wave. Blue light has a shorter wavelength than red light. Tiny molecules in the air scatter the shorter wavelengths much more strongly. Scattering means redirecting light, rather than simply stopping it.
During the day, some of that scattered blue light reaches your eyes from all across the sky. You are seeing sunlight that has changed direction. The blue is not a reflection of an ocean. An inland school gets the same kind of blue sky.
At sunset, sunlight reaches you on a low, slanting path. It travels through much more air than light arriving from high overhead. More blue light gets scattered away from that direct path. The light that continues toward you has a larger share of reds and oranges.
Here is the twist: the blue afternoon and red sunset are partners. One comes from light scattered into your view. The other comes from light left along a long route after more blue has been scattered out. Where you look matters.
Clouds, dust, and smoke can change the result, so sunsets do not all look alike. But a clear sky already has the ingredients for this color change. You do not need a special dye in the clouds. The air and the path are enough.