The word evolved through Middle English "dreiry" and eventually settled into its modern form.
So, while it's a word we use to describe something dull and depressing, it originally carried a much more emotional weight, reflecting feelings of sadness and sorrow.