After some hours of normal use I turned off my PC and everything was normal. After sleeping I turned on my PC and saw a BSOD error named "A required device isn't connected and can not be accessed". It normally happens because of some Windows related stuff and can be fixed by troubleshooting with an USB. But in my case, after restarting 2-3 times and trying to figure out what happened in BIOS, the Windows boot manager section disappeared and I couldn't even boot Windows BSOD. After that I decided to troubleshoot with an USB and saw everything was was wiped and the SSD (C:\) drive has changed to D:\ and the HDD changed to C:\ drive. Fixed the issue by normally restoring the PC with an USB but very curious about what caused it ?