Because the upright, dog-house bass originally had four (4) strings as was designed as an extension of the violin, viola and cello.
3 strings were the norm before about 1900. There are honest debates as to whether the Bass is more of a viol family or violin family instrument. It doesn't follow the geometry of the other instruments in the violin family very closely.