yes there are, but the anti happy hour laws are only from the 1970-80s, Mothers Against Drunk Driving, raise the drinking age campaigns.
the previous round of laws like that were from the Temperance, Prohibition, lifting of Prohibition periods.
then before that, yes the Puritan Blue Laws.
(That being said, even though I think it's a silly rule, it just seems to exist to annoy alcoholics who can't plan ahead. I'm not an alcoholic, and I rarely consume alcohol before noon, so I just laugh at people who whine about this law.)
I live in Massachusetts, the bluest of blue states, and we still have special laws about Alcohol on Sunday. According to Gemini, Logan airport can't start serving until 10 a.m. (Because in Massachusetts, we don't want you getting drunk on the way to your Unitarian or interfaith Sunday service after you get off of your red-eye flight.)
You can also try reading https://www.mass.gov/guides/working-on-sundays-and-holidays-... if you have the time.
it's aimed at not encouraging consumption which is slightly different. you can have a "hungry hour" where you entice people with food bargains and sell them alcohol, but you can't have a "happy hour" where you entice people with alcohol bargains.
it is also in keeping with other laws intended to create a competitive/collusion free market (not saying the crafting of those laws was not influenced by incumbents trying to maintain their share)
> When buying groceries—food and non-alcoholic beverages, pet food or supplies, disposable paper or plastic products, soap, household cleaners, laundry products, or light bulbs—you must be charged the lowest displayed price, whether on the sticker, scanner, website, or app.