Answer:
The answers is Generalization/classical conditioning or Stimulus Generalization
Explanation:
Based on what you wrote this is generalization in classical conditioning.
Classical conditioning is the learning process in which a neutral stimulus becomes associated with an innately meaningful stimulus and acquires the capacity to elicit a similar response
It is the tendency of a new stimulus that is similar to the original conditioned stimulus to elicit a response that is similar to the conditioned response - Stimulus Generalization