notes a semitone away from the root make it want to go to the root
n: also called leading tones
this isn’t only the root. any note a semitone away from a stable note tends to pull toward it. but the pull is strongest toward the root, because the root is the most stable note.
a “stable” note is one that sounds at rest, like the song could end on it. in a key, the notes of the I chord (the 1, 3, and 5) are the stable ones. the root is the most stable of those, because the whole key is built around it. it’s “home”. every other note sounds like it’s on the way somewhere, and the notes a semitone away sound closest to arriving.
this is why the V -> I (dominant chord -> tonic chord) works so well in major. because the V has the 7th note of the scale, which is a semitone below the 1 (the root). and I has the root.
ex: in c major, the V -> I works because the G chord has {{b, which is a semitone below c (the root)}}
ex: in G7 -> C, the b goes up to c (the root). but the f also pulls {{down a semitone to e (the 3rd of the C chord)}}
it’s not fully settled. one idea is that a semitone is the smallest step in western music, so the note sounds like a slightly “off” version of the stable note, and resolving it is the shortest possible move (voice leading). it’s also partly learned, from hearing it resolve this way in so many songs.