Summary
On mechanical typewriters, pressing the key moved the typebars upward, shifting the position where the ink struck the paper.
Because this action was a literal shift, the key was named accordingly.
Modern computer keyboards kept the name even though the mechanism is electronic.