Dead stars sometimes shine again — and gravity itself may be responsible