This was already posted, just yesterday. Link here. New windows don't restore after quitting - #5 by WhiteNoise
I’ll close this one, thanks.
Although, let me know if that thread seems different than what you experienced. It sounds the same from what I read.
(Since you said it happens inconsistently, another thing that might be related to inconsistent settings is if you are using a cloud tool that is offloading your settings files to the cloud.)