My immediate guess would be manuscript variations in the OT versions. Hebrew, Greek, and Aramaic.
Important to remember in cases of variants in OT scriptural quotes one writer might be reading the equivalant of the NASB, while another might read the same passage in the equivalent of the NIV. And since so much was memorized, it's also possible the writer is quoting his memory of the passage.
No cut and paste in those days.