Could you record the camera doing this and post it? I know the clicking sound you mean - I have many of them including some that point out of windows and I don’t get 100s pf clicks when the camera reverts to black and white mode. I do have the IR lights off on the devices which point out of the window.
It would be interesting to see the issue you are experiencing it could be a hardware issue if it clicks so many times.