Remember the resistor is used to limit the current running through the LED. Think of the Led and resistor as being in a closed loop circuit. As long as the resistor is somewhere in that circuit, Ohms law states Voltage = Current x Resistance, so at a constant voltage if the resistance goes up...