Why are my file names hashed when I access them from my Google Drive Files on text editors?

See the discussion on this topic by the Gnome developers at https://gitlab.gnome.org/GNOME/gvfs/-/issues/402.

Summary: The "hash" is the real name of the file. The original name (Display Name) is stored in metadata. It's not a bug in your editor; it's the way Google decided their system should work.

"Fixing" it involves hiding the real name of file, which risks confusing users and possible data loss. The Gnome developers chose to not dive into that no-win situation.