Society needs to rediscover the idea that not all moral judgements are religious in nature, and in many cases are just basic pragmatic ones.
The bans on gambling were often framed in Christian terms, so as society became more secular, they were undone. Now they probably need to be re-added with practical reasoning.
I disagree with your assessment, the ban wasn't undone because of secularism. In fact, this prediction market craze was embraced by the right almost instantly, which is the side currently most favored by Christians.
Rediscovering first principles