Hydrogen peroxide breaks down into oxygen and water. As a small amount of hydrogen peroxide generates a large volume of oxygen, the oxygen quickly pushes out of the container. The soapy water traps the oxygen, creating bubbles, and turns into foam.
Since orbital period depends on how far you are from the sun, planets closer to the sun have a orbital period less than one earth year.
These planets are Mercury and Venus