When there was a push to regulate smoking in advertising, it cut the original feedback loop which made film/tv characters not use smoking as a sign of being cool. This led to advertising (if it were allowed) to be less effective at portrayal of coolness via smoking.
It's not a simple one-to-one cause and effect.