Input impedance of GPIO pins vs. current protecting resistor
There might be many reasons for putting a 100 ohm in series with a GPIO input for protection.
As the GPIO pin can be accidentally be configured as output, there is less chance of permanent damage if the pin is an output pushing high and pushbutton shorts it to ground.