Doorbell turning off power

Ho, does anybody know why the doorbell switches off automatically?