Hi, @Zac if you look at the animation specifically at the persons in the image you will realize its not 3D. Let me break the animation you referred here.
The image is being scaled in only one axis that is X-axis no rotation effect is given, means its initial X-scale is +100% but at next keyframe it changes to -100% and this happens very quick, and which make illusion of 3D. You can try with any image or shapes or objects. And that’s why the persons in the image are swapping position in the image. Hope you observe this time.