Why would files show zero size in Terminal by multiple KB in Finder?
My guess would be that the content of those files are hidden away in the resource fork, and that ls only shows the size of what’s visible to standard Unix API:s.

If this is the case, you should be able to see the “hidden” bytes by doing

ls -l *filename*/..namedfork/rsrc