For technical reasons, as someone has mentioned, phones do a lot of maintenance tasks at night such as updates, backups, machine learning tasks (recalculating test prediction, photo recognition), and probably a lot of other things we don't know about.I mean, why not?
But for social reasons, for me at least, what if a family member or friend needs help, or tornado warning, or missile alert (false alarm, but it happened).