When a Piglin with a crossbow transforms into a Zombie Pigman it doesn't keep the crossbow. The crossbow turns into a Golden Sword.
- Spawn a Piglin with a Crossbow in Overworld (I did this by spamming the spawn egg till I got one)
- Watch the Piglin transform into Zombie Pigman
- Notice Crossbow turns into Golden Sword