Here's why:
* Ammonia (NH3) is a base. Bases have a pH greater than 7.
* pH paper is designed to change color based on the acidity or alkalinity of a solution.
* Blue indicates a basic (alkaline) solution.
Therefore, ammonia, being a base, will cause the pH paper to turn blue.