Ubuntu has some snap apps (e.g., Firefox and AppCenter) pre-installed in recent releases. The snap apps auto-generate a snap folder in user’s home directory to store app data, caches, and configuration files.
If you don’t want to see that folder, you may hide it or move to another location. And, here’s how to do the trick step by step in Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 24.10.