The direct answer

The camera defines the movement frame, so turning the camera changes what WASD means in world space.

Practice sequence

  1. 1Freeze the camera
  2. 2Test one direction
  3. 3Rotate the camera slightly
  4. 4Compare the new axis

Use a tool

Open Rotation Trial for movement drills, or the Input Visualizer when timing and key overlap are the main problem.