Melancholy: noun: depression of spirits; pensive mood; a feeling of thoughtful sadness
From “Young Goodman Brown”: …he looked back and saw the head of Faith still peeping after him, with a melancholy air, in spite of her pink ribbons (line 6)
I understand that the melancholy air describes the feeling of Faith when her husband leaves the village and she is unhappy that he is leaving.