That’s expected.
With your vault being in iCloud Drive, make sure the setting in the screenshot here is toggled OFF.