This best illustrates the classical conditioning. This is a type of learning discovered by Ivan Pavlov in which we learn to respond in a certain way to the presence of a trigger stimulus. In this case, we learn to react with fear to certain sounds.
I hope this answer can