For portability. Lots of OSes don't have it. Lots of other OSes have slightly or seriously
broken /dev/randoms, or /dev/random readable only by root, or something like that.
(Most modern OSes have /dev/random these days, but this certainly was not always the case.)