Because a CEL is only triggered when a sensor detects a value out of range. There is no oil leak sensor, because that is dumb. Therefore, you get no CEL. Eventually if it leaked enough you would get an Oil light.
CEL is not the save all for cars. End user is required to visually check components often.