A condo will have an HOA which is responsible for things like fixing the roof.

However, not all HOAs are actually financially responsible. So they might raise monthly fees, issue “special assessments” (lump-sum charges that can be $10k+) or take on loans. And they decide when they will do that.