Did you ever hear of anti smoking laws? They took decades but have been extremely effective in Australia.
As for social media, people don’t really want to stop or avoid using it
You are right in the sense that less and less people smoke. You just can’t exclude that we are people and do stupid things to look cooler or something