It doesn't? Dynamic range and resolution are directly related. Dynamic range isn't "range." This is why an HDR image has greater bit depth (more bits). Greater bit depth implies more resolution.
All things being equal, a system with higher dynamic range can convey smaller signals. More accurate information is able to be conveyed, which requires greater bit depth. There are even formulas for calculating the theoretical dynamic range of a digital system given its bit depth.