Default Reboot issue

So I just got a refurbished Nexus 7 from NewEgg and for a day it was working fine. Even ran a stress test against it.... but then the second day I ran Words with Friends and it froze for a second and rebooted. This happened twice. My guess is hardware but wanted to get some opinions on this before I sent it back.