YouTube compresses all of their videos regardless of the resolution. You can improve the quality by rendering it out in 1440p or higher then uploading it, because all of those videos get a better codec, called VP9, which will look better even on the lower resolution settings. And, 1440p+ also...