Johnny engages in tantrum behavior whenever his mom tries to…

Johnny engages in tantrum behavior whenever his mom tries to feed him peas. In the past, whenever the parent tries to feed Johnny peas, she switches to sweet potatoes when he tantrums. Johnny now tantrums whenever the peas are presented. What is the likely function of tantrum behavior? 

Johnny engages in tantrum behavior whenever his mom tries to…

Johnny engages in tantrum behavior whenever his mom tries to feed him peas. In the past, whenever the parent tries to feed Johnny peas, she switches to sweet potatoes when he tantrums. Johnny now tantrums whenever the peas are presented. What is the likely function of tantrum behavior?