Correct option is D
Option (d) is the correct meaning of the idiom.
Given Idiom: On the rocks → Meaning: In a state of ruin or failure, often used in financial or relationship contexts.
Example: After the company's sales dropped drastically, their finances were on the rocks.
Similar idioms: In dire straits, going under.