Answer:
Traditionally these books were considered to have been dictated to Moses by God himself. Since the 17th century, scholars have viewed the original sources as being the product of multiple anonymous authors while also allowing the possibility that Moses first assembled the separate sources.