Native for video is data rate compliant, it is impossible to truly output RAW 4K video, we still don't truly have the hardware at least cheaply to even watch RAW 4K.If the selected quality doesn't match your monitors resolution then it will be scaling. Even if you select the 1440p quality option there will still be downscaling since the video was shot natively in 4K, only it will be done by Youtube's encoder instead of your computer. If you get better quality from selecting the higher resolution then it's because Youtube's encoding used worse compression for the lower resolutions.
Youtube's 8K setting is closer to what you would see in a BluRay but still off by a country mile.
Even BluRays are encoded from RAW, it's just not feesible at all in any case to see RAW output, heck HD 1080P is still a lot RAW. It's why we still don't even have content over air that looks good at 1080P until we hit the 4K era and now 4K is filling out 1080P, we are back to crap quality but now it is at 4K instead of which most of us do not benefit from. Most being 99.9% of us.
There is no downsampling happening.
My monitor is 1440P native. If I set the video to 4K, I just see a higher Data Rate being displayed which is the limit of what YouTube does for 4K video with it's encoder, the final output is limited by your monitor, you can have an 8K screen and you will just see crap 4K encoded YouTube video in a larger container in 8K, it is technically upscaling but it definitely is not at all, it's just that the data rate of the video is nowhere close to high enough to look good at 8K as 8K needs so so so much more data.