-height is used in the case of depth
in physics it is applied when the height measured from top to bottom normally. in the case of free fall problems , displacement problems , gravitational problems etc these assumption is considered . it doesnt mean length is negative it just means depth. length is always positive