How is the prohibition of greater harm to parents inferred from the prohibition of “uff”?

Comprehensive Review and Applied Reasoning in Usul al-Fiqh