Literal translation: the pineapple turned sour. Commonly used to refer to the state of the country or a particular situation.

Meaning: things went wrong, things got difficult

Significado: la situación se complicó, o cambió para mal.

Use: general, colloquial