Figure 1 shows a bar magnet with its North and South poles labeled. A student places a small plotting compass at positions A, B, and C near the magnet.

Explain why the needle of the plotting compass points in different directions when placed at position A compared to position C.