The boy engages in dialogue with the dragon. He most likely does
this to...
to gain the dragon's trust.
show off to his other friends in the forest.
scare the dragon.
motivate himself; remind himself why he is there,