Well, that's not quite true.
Mercury has a tail like a comet because atoms from its surface are sputtered away by the solar wind.
Space/Science » in reply to Why Mercury could have a manned base
Mercury has a tail like a comet because atoms from its surface are sputtered away by the solar wind.