Sincerely this is shameful thing they have done and they are not worthy to be trusted in their position or even being elected as government officials. Usually there are laws that binds them and stopped from gambling and whenever it's violated then they do lose their respective offices and for sure, they shouldn't found gambling or involving themselves into gambling as this could leads funds misappropriation and it's highly prohibited for government officials to involves these into gambling activities.
The official violated the law because officials should not be involved in gambling, as it can damage the public's image and trust in the official and other officials, which will arouse public suspicion. This case sets a bad example for society, especially if the gambling money comes from corruption. I'm sure many people are angry with the official, especially those who are not pro-gambling. Cases like this not only result in the loss of office but also must be punished according to applicable law to serve as a deterrent to other officials. And I'm sure cases like this will cause many lay people to blame gambling because in any case involving gambling, the fault lies with those who have a problem with their gambling activities.
This is the sad part on my country when it comes to corruption not only about the official playing gambling but also about them getting a fake ID that is accepted by the casino valid KYC.
Either the ID is legit with fake credentials or the casino itself colluded with the suspects in exchange for the money they can get from these high roller players.
Also these government employees is gambling during office hours which is worst since they are being paid using our taxes while they are using money as bankroll from government project funds.