Is this a science question? If so, I think you're trying to question what kind of behavior this is. It's learned behavior.
As for the name of the theory, I have no clue. Maybe Darwin's Theory? Or was he the guy with the theory of evolution?
...I need to pay more attention in science class XD