How Mars may have lost several systems of rings over billions of years