Quoted from the Microsoft website:
"This behavior may occur if Windows throws a fatal error during a typical operation or during the shutdown process. By default, the computer is configured to automatically restart during a fatal error."
What I suggest you do, is right click on "My Computer" select "Manage." Select each of the logs, and post any errors that correspond with the time that you shut off your computer. With this information, we might shed some light on the issue at hand.