Atoms have discrete energy levels, so a free electron cannot give an atom just any amount of energy in a collision. Energy is transferred in fixed amounts that match the gaps between allowed levels.
Step-by-step lessons on AQA AS Level Physics Collisions of electrons with atoms. Each one builds up to exam-style questions.