I was wondering why the ligatures in the word الموسي (letters ل and م are joint) work in the second line of the text but in the first line they are written apart – or am I missing something?
It's only a question of calligraphy. In the beginning of a word, just after ال, you can write it الموسيقى or الـموسيقى. Both are correct.