Soap
bubbles have an iridescent quality that changes color
over the lifetime of the bubble. This happens because
light is reflected from the inside and outside
surfaces of the bubble. As the bubble's surface
becomes thinner due to drainage or evaporation, the
light reflection changes. The colors change because
when light hits the surface of the bubble, some of it
is reflected off of the outer surface of the bubble.
Some of the light passes through the outer layer and
is reflected by the water layer or the inner layer of
soap.