A rockpool is a whole system. The stone, the water, the temperature, the tide, the shelter, the predator, the algae, the light, and the movement all shape what the creature does.
Remove the environment, and you change the meaning of the behaviour. This is the founding principle of Whole System Neuro-Endocrinology: the person cannot be understood apart from the system they are in.