Why? Gifs are by far the most efficiency way to playback micro length video. As in it uses the least amount of processing power due to not being encoded and instead just being a series of images.
But as long as software treats all video formats like a video with the ability to pause and has a seek bar instead of just being an image then there is still a use case for formats like gif. If everything supported apng that would be great, but almost nothing does. Also for some reason every image I save from the net that claims to be an animated webp gets saved as a gif. I'm not sure why that is, but it doesn't seem like it needs to be that way.