Your phone may be restarting because of a software update, or because the internal software is corrupt. To troubleshoot, here are some steps you can take:
- Restart your phone manually.
- Perform a factory reset.
- Check for software updates.
- Contact your phone’s manufacturer for assistance.