Answer:
To creat totally separate images within the poem
This is a SIMILE - if words such as 'as' or 'like' are used in order to compare two things (in this case, 'giant rocks with razor edges crouch LIKE a sea monster with wide open jaws'), then it is a simile.