My daughter phone keeps turning off for no reason
Try uninstalling Facebook and Facebook Messenger.
My wife had this issue on a phone. Does it stay on when connected to a charger? My wife’s ended up being a bad battery. It would show full charge then die all of a sudden with no warning, however, so long as it was connected to a charger, it would remain on and function normal.