Fisher Exact test - Different p-value

When I use tableby with cat.test = "fe" I get p-values as 0.414
But when I use fisher.test(). with the same variable then p-value is 0.3888
Why is this difference.

Please help me with the reason


To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: