This is not a mechanical fault. When your camera detects a light change, it automatically switches between the day and night modes and generates a clicking sound.