Every behaviour is trying to gain something or avoid something. Pick every reason you think could be driving each scenario below. More than one can be true at once, and that is the point.
You cannot know the function from what you see. You work it out by observing what happens before the behaviour, and what the child gains or avoids afterwards. That is where a plan that works starts.
Get the free 30 Tools in 30 Days list