Thanks for reaching out here in the Community. This can happen if your Nest Camera gets too hot or too cold.
Give these steps a try:
4. Unplug your Nest Camera from its power source and reposition it after it’s had sufficient time to cool.
Hit this link for more information.
Looking forward to your response.