Upper bound and Lower Bound

When I use the lower bound function, the position of the element is given by the 0 based indexing and when the upper bound function is used, the actual position is given as output, i.e, 0 based indexing + 1.
Why is it so?