When an electrical charge flows through a filament lamp, it transfers some energy to the thermal energy store of the filament, which is designed to heat up. Resistance increases with temperature, so as current increases, the filament lamp heats up more and the resistance increases.