Here's why:
* Terrestrial planets are rocky, solid bodies with a relatively dense composition. They have a solid surface and are typically smaller than gas giants.
* Gas giants are primarily composed of gas and are much larger than terrestrial planets. They have no solid surface and are very low in density.
The moon is clearly a solid, rocky body with a definite surface, making it a terrestrial object.