I fixed mine by deselecting “Optimize iPhone Storage” and selecting “Download and Keep Originals” in settings. When I got my iPhone 12 with iOS 14 this no longer worked. Just changed that setting and now I can save gifs and they are animated Photos. However, the gifs I downloaded prior to making the change are still broken. Probably have to re-download them.