It's used metaphorically to describe instability or potential failure in relationships or entities. The company's future is on the rocks after the scandal.
Pro Tip 2/3
Negative Context
This phrase is often used in negative situations, rarely in positive contexts. His career as a director is on the rocks.
Pro Tip 3/3
Colloquial Expression
It's casual language, fitting less formal communication like everyday conversation. I heard their partnership is on the rocks.