this is an example of Habituation conditioning.
Habituation conditioning is a creation of psychological response due to frequent same stimulus.
This response exists in every human since we're born to determine our fight or flight response.
In this case for example. After hearing the tone, the baby determines that the sound feel really similar to him and he do not perceive it as a source of danger, so the baby feel safe to continue sucking.