When the watch face is upside down (e.g. you're on your back, looking at the watch) the compass is backwards e.g. if the watch says it's facing north it's actually facing south.
Using an accelerometer and gyroscope it's possible to determine the pose of the watch, and therefore to correct for this.