Both examples feature large long-term negative externalities that are usually picked up in one way or another by the taxpayer.
If people want to indulge their very immediate needs at the future cost to their hip-pocket or health that's Thier indulgence and is what they rationally decided will make them happy. I think it's immoral to take money from taxpayers to subsidise behaviour that has harmful long-term effects.