You can check if your phone is in ““Do Not Disturb”” mode - after turning it on, all apps should not be able to push notifications.
You can check the sensitivity of the motion detection. The sensitivity will decrease at night, so you can adjust it higher to troubleshoot the issue of not recording due to lack of motion detection.
Additionally, please go to the camera’s settings, message notifications, and check the message push time period to see if it has been set to only receive message notifications during the day.