Why does this happen
The camera has a mechanical IR-Cut filter, which typically switch 2x a day, 1x at sun-rise and 1x sun-set.
This can of course be more as long as it is within a reasonable amount, and interval.
When the camera operates in automatic Night-Mode and the switching interval is too fast the camera built in protection mechanism will intervene to prevent premature wear of the mechanical IR-Cut filter.
you recognize the intervention of this security measure when the Night-to-Day slider has increased.
It will automatically increase each time with +1 till a max of +15
ones it has reached +15 the camera will permanently stay in Night-mode
This protection mechanism will intervene each time when N>D happens approx 4x within 2 minutes, or 2x short after each other.
Some used cases where the intervention of this security measure can happen:
See attached script to be copy/paste in the camera "Alarm Task Editor":