According to MSL scientists based at NASA's Jet Propulsion Laboratory (JPL) in Pasadena, Calif., the ball isn't as big as it looks — it's approximately one centimeter wide. Their explanation is that it is most likely something known as a "concretion." Other examples of concretions have been found on the Martian surface before — take, for example, the tiny haematite concretions, or "blueberries", observed by Mars rover Opportunity in 2004 — and they were created during sedimentary rock formation when Mars was abundant in liquid water many millions of years ago.
It lies close to the direction of the open cluster Messier 52. The "bubble" is created by the stellar wind from a massive hot, 8.7 magnitude young central star, the 15 ± 5 M☉ SAO 20575 (BD+60 2522). The nebula is near a giant molecular cloud which contains the expansion of the bubble nebula while itself being excited by the hot central star, causing it to glow.