On the origin of aurorae on Mars