When I keep a Piglin deep underground (about 50 blocks below surface) in a completely enclosed bunker with no sunlight exposure, it still transforms into a zombified piglin. This happens consistently even though the bunker is sealed with solid blocks and no light from the sun reaches it. No mods are installed, and this behavior is unexpected because Piglins should only transform when exposed to the Overworld daylight or being outside the Nether.
Environment
Minecraft Java Edition 1.21.7
No mods or plugins installed
Singleplayer in my own world.
Piglin zombification has nothing to do with sunlight.