you've gone to the troubleUsually preceded by «por qué» or «para qué» to ask why someone made the effort to do something. Often said appreciatively or with surprise.
SP: ¿Por qué te has molestado en traerme esto?
EN: Why have you gone to the trouble of bringing me this?