Mobs drop XP & loot regardless of death cause. Continuation of jadc's playerless for 1.21.x.
Zombies dropping exp and rotten flesh on death.