Yea so that won't work, because a .gif is a flat image, you can't ungroup it because there is nothing to ungroup.
Now you could take 2 gif images, CTRL click them both, them press CTRL G to group them, now they act as one. Then the button to ungroup will be available.