Default Reboot frequently and data/setting lost

My phone is meeting a issue of high frequently reboot, and when after reboot, some app lost it's data, and some system settings are restored, such as wifi password lost.

I tried going back to stock rom, but this issue still happens.

So, can anyone who knows what is wrong with my phone?

Sent from my Nexus 5 using XDA Free mobile app