Zombified piglins are not in the zombie family, despite behaving similarly to them.
Steps to reproduce:
Spawn a zombie, husk, drowned, zombie villager, and zombified piglin.
Run the following command:
/kill @e[family=zombie]
Expected results:
All of them die.
Actual results:
The zombified piglin remains.
Thank you for helping us improve Minecraft! We saved your files: