If I had to guess without seeing anything, some setting caused issues (thus BSOD) and BIOS reverted the changes or went to the default values and then it worked because, well, it's on default values.
Check your configuration, if you had OC running, RAM profiles etc.