As the number of molecules in the air decreases with the increase in height or altitude.
The sound wave needs molecules in the air to travel from one point to other.
Thus, with the increase in altitude, the speed of the sound wave decreases.
Hence, the second option is the correct answer.