There might be something wrong with the up arrow key itself, or you might have accidentally changed the controls.
To verify that that you didn't do this, press esc, options, then go to the controls tab, and scroll down until you find the right camera option. If there is something wrong with the controls, press change, and then press your up arrow key.