Why white halos happen
Halos often come from the original image edge, anti-aliased pixels, compression artifacts, or flattening choices made before the final export. The problem usually becomes obvious only when the PNG is placed on a darker background.