Thank you for explaining it. I was worried why my selfie camera had started doing that sound.
BTW, my first guess was that it is some kind of software lag that is causing auto focus to get stuck in a loop while adjusting and choosing the right focus.
Moreover, as I first time noticed it on my S22 Ultra just a couple of weeks ago, I thought that Samsung now wants the users to change the phone and put that bug in any of the frequent updates. 😀