I think somehow your screenshot location got changed to revert it back to the desktop typing defaults write com.apple.screencapture location Desktop
There’s also discussion on this issue that could be related to finder slow to refresh or alternate locations for screenshots.
The common thread is a third party sync or backup program like Google photos, box sync, Dropbox, etc...