The analogy isn’t valid. By not making sodas available, you are making them unavailable. By not making contraceptives available, you are not making sex unavailable.
Teens that can make responsible choices can be trusted not to have unprotected sex. Teens that cannot, cannot. If the assumption is that teens cannot be responsible, then handing them contraceptives in the hope that at least they’ll use them is a good idea.