It all comes down to: there was a ton of money to be made.
Then FanDuel and DraftKings arrived with a lot of investor capital, and had the money and power to push through the legalization.
It was never morals that kept gambling from being legalized elsewhere, it was protectionism.