It’s possible you don’t notice. Whole Windows applications aren’t as good as those on macOS, Windows does try to restart and reposition existing software after a reboot these days.
I found myself a little confused where my search window went when I went to the bathroom. Turned out Windows had rebooted itself and relaunched my browser and IDE. The only state it seemed to have missed were a few tool windows.