Tonal harmony
Why does a melody sound unfinished before its final chord?
Because tonal music establishes a reference note from its opening bars, and everything else moves away from it or returns to it. Your ear, trained unconsciously by thousands of hours of listening, knows when the loop is not complete.