White chocolate may turn yellow due to exposure to light or high temperatures. This can cause the cocoa butter to separate from the other ingredients, leading to a change in color and texture.