Here the words "He" and "him" refer to Yahweh.
"He made darkness a covering" or "He made darkness a hiding place"
"clouds heavy with rain" or "thick, dark rainclouds"