probably graphics driver, try updating to the latest one.
also turn off automatic restart on system failure and you should see a blue screen if it does it again, make a note of what the writing says, it may look gibberish but it does say what the problem is. (the setting to turn it off is in system properties, click on advanced tab, startup and recovery, how to get to system properties varies depending on windows version)



