custom loot table doesnt apply to naturally spawned mob

i added a custom drop to the wither skeletons in a data pack, so custom loot table, however it's only used on wither skeletons that are spawned from eggs/commands, not naturally spawning. why is that?
Continue to help post