And as long as licensed video codecs are a thing, the UX for gif's will always be better.
Yes, videos lose quality and sound when converted to a gif. They also lose proprietary encoding and all their metadata (including licensing information).
This makes gif's infinitely more transmittable on the web.