I wouldn't blame the government for it, to be honest, because if gambling is generally legal within the country, they might not think of imposing a lot of restrictions on gambling businesses if they can run their businesses legally by acquiring licenses and everything. It's the people who need to be more responsible with their money and how they should spend it. A gambler should know their limits, and if they cross those limits, it's them who can be blamed for it and not the casino nor the government for not stopping from doing it.
They can surely run campaigns or maybe make casinos and gambling businesses have risk warnings and disclaimers for gamblers to gamble moderately, but other than that, no one can or should force an adult to do or not do something that they want to do. It's their choice at the end of the day.
Just one distinction though, that $2.7 billion does not mean it's the gamblers' total losses, but it's just the taxes and related revenue collected by the government from gambling operators.
As far as I know, taxes are collected based on total capital gain and revenue generated by a business. If you are running a business and aren't making much profit, you won't be paying a lot of taxes because there is a specific percentage that you have to pay based on how much you have made within a year.