The riddle
Why Did the Music Teacher Need a Ladder?
AnswerTo reach the high notes
A high note on a ladder
Musicians call a note high when its pitch is high, as in the top of a singer's range. That is a word for sound, and a ladder is a tool for height, and the riddle hands the ladder to the teacher as if the notes were hanging from a shelf.
Higher on the page, too
On sheet music, notes sit on a set of five lines called a staff, and a note's position up or down the staff shows its pitch. Higher notes are written higher, so the ladder joke has a small basis even on paper.