Hi, I'm Rodrigo and I will help you.
This is happening because you have the OneDrive backup feature enabled for both devices in the same account.
To stop this behavior, disable the OneDrive backup on one device or on both devices.
Right-click the OneDrive icon on the right side of the taskbar (cloud icon) > Settings > Sync and backup > Manage Backup > Turn off the options you don't want to sync.
The files will "disappear" from the folders, but it is just the location that changed, you can still find the files on the OneDrive folder and copy them to the folders.