Since Safari 15, the extensions local and sync storage seems to be merged into one. This means operations in local storage apply to sync storage and the reverse.
This caused the users of of my extensions with more than half a million of downloads to loose all their user settings.
To keep compatibility across browsers, the sync and local storage should be separated.