I wasn't able to read through the pages of comments but am I the only one that sees this as an unnecessary act? I mean, we could have a different culture from yours anyway.
I believe it was mentioned on the earlier replies that people who don't have enough money to pay for the funeral expenses welcome this kind of gambling activity in order to help them in finances. While I believe operators (more probably an independent or illegal gambling operators) take advantage of this event in order for them to make profit.
Well in reality these people can't escape things that happens in the real world, but somehow I believe this escape means a temporary relief from all the problems and stresses that one experience everyday.
Well, different cultures have different beliefs, although I agree that solemn things shouldn't be mixed with earthly pleasure, but well people practicing that does not mind it at all. I also believe that others may see them as taboo but other people see that as a normal thing.