The answer to this is observational learning. It is a form of social-learning theory that supports the idea that our behavior is greatly influenced by our surroundings. In this case, as Lily observes the effect of her sister's action, she was influenced to do the same. This supports the theory that through Lily's observation by watching her sister work, it influenced her to create her own actions.