Ambition is a very strong desire to achieve something. Intention is what a person wants to make happen through their actions.
Ambition is typically used in a more generalized sense compared to Intention. For example, wanting to become a fluent English speaker is a good example of ambition. Deciding to devote one hour every day is intention.
Intention is often used in when things did not go to plan to explain what a person wanted to happen. For example:
“My intention was to was to pass the ball to my teamate, but I accidently passed it to a player on the other team.”