Our actions are motivated by certain physiological needs.
Cody's behavior is explained by the attitude of his strict parents.
In a rebellious act, Cody has the necessity of showing his parents that he is capable of taking his own decisions. He wants his parents to note that he is free and that he can act with some grade of responsibility.
That is his way to confront his parent's strictness and decisions.
Rebellious behavior often is the result of a complicated behavior of a child whose necessities or demands are not met.
Answer:
Entitled people feel as they need to be outspoken if they see something they personally didn't like.
It was possible because it helped him navigate in territories that were completely unknown to him. Thanks to it, he could determine where his ship was based on the position of the sun and the time of the day and he used this to navigate all the way to India.
The answer is hippocampus