The tension between freedom and public health is obviously very real. That's why liberal democracies generally rely on public debate and expert opinions to decide what should be controlled and what should be widely available.
Turns out, the expert opinions on social media is not very good and very much in favour of a ban for minors. Also turns out that the public is apparently in support of the ban.