This is frame by frame hand animation, without tweening. It's a lot of work, tbh. I think it is animated "on twos", which means every second frame is a keyframe. I recommend looking up these terms or 2d animation tutorials in general. There is a lot of open source software for this.
Good Monty Python vibes in there