The best explanation for why rainbows only appear when there is rain and sun is:
B the combination of light and water creates a prismatic effect.
This option accurately describes how rainbows form; sunlight refracts, reflects, and disperses through water droplets, creating the spectrum of colors seen in a rainbow.