Curiosity's mast-mounted camera is equipped with solar filters that act like eclipse glasses, so it can safely stare into the sun.
Mars moons are quite small, with Phobos measuring in at 7 miles (11.5 kilometers) across and Deimos at just 1.5 miles (2.3 kilometers) across. The Phobos eclipse occurred on March 26.
Deimos' stroll in front of the sun took place on March 17.
The satellites both look like dark blobs traveling across a bright disk.
These observations help scientists better understand each moon's orbit around Mars. "There's still a margin of uncertainty in the orbits of both Martian moons, but that shrinks with every eclipse that's viewed from the Red Planet's surface," NASA says.
Curiosity has been exploring the surface of Mars since 2012, overcoming recentand along the way. Its sun-spotting exploits are a good sign the mission is still on a roll.