The ropes were crying. What kind of figurative language is this? What is the author trying to say?

This is personification. The author is trying to convey a sense of emotion or distress by attributing human characteristics (crying) to inanimate objects (ropes). This can evoke a sense of sympathy or empathy from the reader towards the ropes.