>difference just because the mechanics of the game are different?
yes, because the mechanism of gambling is addictive. (this too applies to subsets of video games as well, but at least most of them don't allow open-ended money spending)
Obviously it depends on everybody's definition of liberty, but most people seem to be happy to, as a society, put limits on the consumption of goods that foster unhealthy, addictive behaviour in individuals and cause financial or personal damage.
I for example don't have a problem with video games that foster creativity, problem solving and leave children with genuinely satisfying experiences. I am concerned about social media and games that only implement stick and carrot mechanisms to maximize the time children spend in front of them.