Two Questions That Look Like One
Ask most writers what their character wants and you get a goal: find the sword, reach the capital, clear their name. Ask why and the answer is often a restatement — because the sword is important, because they need to reach the capital.
The goal is the object. The motivation is the wound, the need, or the fear that makes this particular object matter to this particular person. Characters feel flat when they have the first and not the second.
Motivation Should Explain Their Bad Decisions
A goal explains what a character does when things go well. A motivation explains what they do when things go badly — which is where all the interesting writing lives.
If you cannot use your character's motivation to predict a decision that costs them, it is not deep enough yet. "Wants to protect her brother" is a goal. "Cannot be the one who survives again" is a motivation, and it tells you exactly how she will behave when protecting him stops being possible.
Goals Should Change; Motivations Should Not
Over a long story the goal moves constantly — the sword turns out to be a decoy, the capital falls, the name is cleared and it does not help. That churn is plot.
The motivation underneath should be stubborn. When it finally shifts, that is the arc, and it should cost something. A character whose motivation changes every few scenes has no spine; one whose motivation never changes has no story.
Test It Against a Scene Where They Get What They Want
Write your character achieving their goal. If the scene feels like an ending, the goal was carrying the whole character. If it feels like a complication — they got the thing and it did not fix the underlying need — the motivation is doing its job.
Contradiction Is Not a Bug
Real motivation is usually two things pulling against each other. Wants to be known, terrified of being seen. Needs to be forgiven, cannot ask. That tension is what makes a character generate scenes on their own instead of waiting for the plot to give them something to do.
Write It Where Your Partner Can See It
In collaborative writing, motivation is the single most useful thing to make visible. A partner who knows the goal can move the plot. A partner who knows the motivation can hurt your character in a way you will enjoy — which is most of what good roleplay is.