the definition of altitude - a line which passes through a vertex of the triangle and is perpendicular to the opposite side.

Reflecting at the definition, if I want to imagine the altitude of a tent we would rather measure it from the ground to the top of tent. In the definition of altitude, why do they insist that the line should pass through vertex.