Although both Mercury and Mars have similar gravity fields, Mars has an atmosphere whereas Mercury does not. What is a possible explanation?

a) Mars has a stronger magnetic field

b) Mercury is closer to the Sun

c) Mars has a more active geology

d) Mercury's low escape velocity