And these are all spoken of in terms that are analogous to terms used to describe God as the shepherd of his flock of Israel and in control of life and death and so on.
Treating the Torah as a literary unit sheds much light on this: throughout the rest of the Torah Israelites are reminded that God is their shmr, their Keeper, their Shepherd.