A chirping smoke alarm often indicates a low battery. When it happens at night, it could be an environmental issue affecting the device's performance.
The Real Reason Your Smoke Alarm Goes Off Randomly At Night (& How To Prevent It)

140
A chirping smoke alarm often indicates a low battery. When it happens at night, it could be an environmental issue affecting the device's performance.