The reason why the dragon in The Hobbit likes gold may be because Tian Shenglong is obsessed with and greedy for treasures. In ancient legends, dragons are usually creatures who guard treasures, and have a strong paranoia and love for gold and jewelry. In the Hobbit, the dragon is a creature with great wisdom, and its greed for treasure may stem from its inner desire. In addition, as a reptile, the dragon's hard scales may reflect light, and the glittering appearance of gold may make the dragon curious and fascinated.
In the story, the dragon stone found the hole at the bottom of the bag in the Hobbit's hometown and occupied it, forcing the villagers to pay tribute to gold every week. This may be due to Shi's greed and possessiveness of gold, and its authority and prestige as a dragon. So it can be said that the dragon in The Hobbit likes gold because of its natural greed and obsession with treasures.