A feature matcher gives 40 matches between two views. About half of them are wrong, and a robot that fits a transform to all of them gets an answer that is wrong by pixels.
You will see how RANSAC finds the transform that most matches agree on, write the loop, and then use the matches it trusts to get an accurate answer.