We compress video for the web because uncompressed video is far too big to download. Whenever we compress something, we need to remove image and audio data in order to make the resulting file smaller. Whenever data is removed, image quality suffers.