Why do some uploaders make it unavailable in certain countries?

licensing probably

But for an advert?

You can rent videos from YouTube, wouldn't you just make the video available but charge for it?