The cup is a product that is currently perceived as gratis / of zero value. Charging for it is intended as a disincentive. In the case of plastic bags (here) it largely worked as such (with prices as low as 10c per bag!) and paved the way for a ban. Though the parallel effect of more resource-intensive bags / cups entering the market / being treated as single use is always a consideration.
But to your broader point, for sure .. bring on a ban.