I love this short 15 second video. I'm a beginner (have mercy), but how did they do this?
One frame at a time. Many film cameras (as opposed to video cameras) will allow the creator to shoot a single frame of film. The camera is set up on a tripod, pointing at countertop with the Quest Bar, strawberries, and peanuts on it. The filmmaker shoots one frame of film. Then he/she moves the Quest Bar a couple millimeters to the right. Then shoots another frame. Moves the Quest Bar a couple more millimeters. Shoots another frame. And so on, until the Quest Bar is in the middle of the shot. Then he/she opens the end of the wrapper a bit, and shoots another frame of film. Opens the wrapper a little more, shoots another frame. Slides the wrapper a couple millimeters to the left, shoots another frame. And so on.
This is standard "clay animation" or "Claymation". You can read more about it here.
The most basic principal of stop motion is taking pictures of still objects,moving them slightly for each frame, then playing them very quickly to give the illusion of movement. For example, when the bar came out of the package the animator started with a frame of the closed package. Than they opened the end of the package then they took another frame(picture).They moved the package off the bar sightly and took another picture. They slowly did this until the bar was all the way out of the package. It's not that hard, really. Give it a try!