There can be multiple sources of your desktop icons disappearing, however, that also means fixes can be applied to get them back.
Solution 1: Turn on the visibility of desktop icons
Right-click on an empty space on your desktop.
Click on the "View" option from the context menu to expand the options.
Make sure that "Show desktop icons" is ticked. If it isn’t, simply click on it once to ensure it wasn’t causing issues with displaying your desktop icons.
Solution 2: Restart your computer.
Related Articles:
How to display icons on the desktop in Windows 11?