J.R. S. answered 02/27/20
Ph.D. University Professor with 10+ years Tutoring Experience
Since ammonia (NH3) is a gas, and as the temperature increases, the solubility of the NH3 will decrease. This will lower the pH since the concentration of NH4OH will decrease as the temperature increases.
As far as other acids and/or bases are concerned, if a similar rationale may be used if the acid or basic solution is produced by dissolving a gas. For example, CO2 (H2CO3).