It looks like AE was importing the JPGs as an image sequence. The image with the shaking hands appears to be the first image in a group of consecutively numbered images. Your screenshots are not high enough resolution for me to see the icons. This may be a bug, or maybe AE just remembers the last import setting for JPG files. Try importing instead of dragging the files.
Thanks for your imput. I did import menu as well. When you doing drag and drop, AE doesn't create img sequence. From what I know it has to be checked via manual import dialog. And the files has diferent title or for AE it can be prefix so it won't or can't be recognized as a IMG seq.
You can cmd(or ctrl) + (+) to zoom my gifs. In first gif I am dragging just other third file and it load the handshake. AE is full of mysterious funky things which makes me furious because it cost me plenty of production time. 😞
Latest PC configuration: After Effects 22.2.1, Windows 10 Pro (21H2), Ryzen 3700x, 32 GB ram, Asus Strix 2x RTX 2080Ti, SSD Crucial, Nvidia Studio Drivers: 511.65