Can you paste your “Show debug info” here? Run that command in Obsidian.
Also where are you storing the vault? Make sure you are not storing the vault in iCloud or any other extra sync tool. Doubling up sync tools can cause issues.
Also there is a bug thread with similar things happening. I haven’t read the whole thread, but please take a look: Obsidian Sync incorrectly duplicates sections of files