Question: why does oogie boogie gamble?
Answer: He needs to stand out of the crowd in a way that the audience sees him as a narrative villain. This encapsulates why Oogie's gambling defines his narrative villainy: he seeks to harm others. He claims that this is a matter of a dice roll, but we see him change the outcome of a dice roll when it is not harmful to Santa.