@blahblah1 your issue sounds like: Note content disappearing on Mac OS Sonoma 14.0 - #11
It seems to be fixed by turning off Optimise Storage in iCloud settings and/or setting the file to Download Now via Finder.
For the Obsidian team: it’s really easy as a new user to end up getting hit by this bug and if users are keeping any value files in Obsidian it’s hard to understate how scary this is. Is there any way you can re-write your file handling/iCloud code to be more solid? I just spend an hour or two looking at this and while I’m very happy there’s a workaround it does seem to be fundamentally “an Obsidian thing” - are you using the right APIs for iCloud?