But more importantly, the nature of the product and the intent of the creators is different. Alcohol vendors for the most part don't want people to get addicted to alcohol, and most of their revenue doesn't come from addicts (90% of American adults drink at least socially).
Gambling, and gambling advertisements, are deliberately designed to hook people to it as an addiction. Only 25% of Americans regularly gamble, and just 2% of gamblers produce 50% of industry revenue.