If you send a GIF from the Gboard GIF keyboard, the GIF loop will get cut short, but only for the sender (the recipient will see the original loop duration).
If you Forward the GIF to another chat, or if you clear your cache, you will be able to play the sent GIF with the original loop duration.
Open Saved Messages, open Gboard, tap on the GIF option to go to the Gboard GIF keyboard.
Type in this GIF search term, "dog sending hugs"
The first GIF result should be of a dog hugging a cat, with the text, "Sending Hugs".
This particular GIF can display the issue very well. For now, notice the GIF's original duration.
Send that GIF to your Saved Messages chat.
Try to play that sent GIF.
The GIF gets cut off extremely short, so it doesn't finish the playback duration before it immediately starts looping (the incorrect loop for this GIF is pretty noticeable).
The GIF should loop the full duration, rather than get cut short.
SDK32 | Google Pixel 6 Pro