Explanation:
Basically, because the names of the letters in the English alphabet are not phonetically spoken. The name of the letter W is from a long-ago definition of its being a “double-U”, hence the phonetic use of the letter D.