Which of the following happens when rubidium forms an ion?. A. It gains an electron and has an octet in its outer shell.. . B. It gains an electron and has an octet in the lowest energy level.. . C. It loses an electron and has an octet in the next-lowest energy level.. . D.It loses an electron and has an octet in its innermost shell.