Go to System Preferences → Apple ID (at the top right) → iCloud (tab on the left) → Try to uncheck “Optimize Mac Storage”.
https://www.google.com/search?q=macos+optimize+mac+storage