It only takes a couple of minutes for a kid to get into trouble as every parent knows. This kid really wanted that stuffed animal and saw no reason to not have it. So she climbed into the vending machine. Why pay for it when you are small enough to get it free?

You will notice that she accomplished her mission. You know her parents were freaking out. They fled the scene (with their little thief) very quickly!