It's because the anticipation of possibly winning releases serotonin in the brain, and actually provides a good feeling until the drawing indicates you've lost.
当たるかもしれないという期待が脳内のセロトニンを分泌させ 外れたと分かるまで 実際いい気持ちにさせるのです