As Tom and Huck set off on their journey to find treasure, they gradually reveal their growth and true character traits. Tom shows signs of maturity, bravery, and a stronger moral compass, while Huck showcases his resourcefulness and loyalty. The town begins to see Tom in a new light, recognizing his intelligence and leadership skills beyond his mischievous pranks.
On the other hand, Huck gradually gains respect and acceptance from the town. His genuine kindness, compassion, and willingness to sacrifice for others change perceptions about him. The townspeople start to see him as a moral and caring individual rather than a rough and uneducated boy.
By the end of the story, Tom and Huck become heroes in the town's eyes after they successfully uncover Injun Joe's plot and restore wealth to Jim and the Widow Douglas. Their transformation and moral growth earn them the town's respect and admiration, changing how people perceive them.