So think of it like this.
The higher the pressure, the higher boiling point of water, so vice versa for the lower it is. Also, as we go higher in altitude the atmospheric pressure will decrease. In easier terms, the water will boil at the top faster than it would boil on the beach.