QUestion about Used/Available not match ls -a

in this image i have an app call valheim that says it has 17.46 GiB used.
But when i check it using zsh i only see 5.5g used (command used is du -hs $(ls -A)

image

What could be causing the discrepancy.

… I can see whe viewing in datasetspace management that for 1 sub dataset 10.24g is allocated but only 986MiB is data written and the second one has 7.22Gib Allocated and only 4.44 GiB Written so that why 17Gib is “used”.
What determines the allocated space.