I don’t how to put it to make you understand.
If you use a profile directory on one device, that directory is NOT synced to the devices that use a different profile at all.
You had up two .obsidian directories on one device because you manually did it. It wasn’t obsidian sync.