Why does your texture go black in the UV window when you create a new palette?

Why does your texture go black in the UV window when you create a new palette?