The cost to youtube is the overhead. Youtube doesn't even pay for the videos, but the infrastructure, delivery network, and service is very expensive.

It's a very naive view to think that serving videos is a zero-cost endeavor because the video isn't consumed.

If they don't want people to watch without paying, they can put up a paywall.