CRTs don’t last forever, and neither do the electronics that drive them. When you have a screen starting to go wonky, then ...
When any key on a keyboard is pressed, it needs to be converted into a binary number so that it can be processed by the computer and the typed character can appear on the screen.