Why do both hepadnaviruses and retroviruses require reverse transcriptase when

Why do both hepadnaviruses and retroviruses require reverse transcriptase when their genomes are double-stranded DNA and single-stranded RNA, respectively?