CMOS logic gate output
Inside the inverter there is a switch, this switch flips between Voh and Vol. Now, this switch has resistance (like pretty much everything) and so when you pull more current, the switch isn't able to pull the output as close to Vcc or GND as it would have been able to other wise. Basically, Voh drops and Vol rises (assuming equal loads in both directions)