a mechanism in a firearm that ejects the empty shell case after firing
One who, or that which, ejects or dispossesses.
Ejector comes from the Latin verb eicere, meaning "to throw out," combined with the suffix -or to indicate an agent or doer of the action. It essentially refers to something that performs the act of throwing or expelling.