 On 4 March 2004 a transit of Deimos was photographed by Mars rover "Opportunity", and on 13 March 2004 a transit was photographed by Mars rover "Spirit".The origin of Mars's moons is unknown and the hypotheses are controversial.The main hypotheses are that they formed either by capture or by accretion.