Infrared is a whole spectrum of light, some parts of the spectrum are visible, I believe... (could be wrong on this one)
The bulb is probably putting out both visible and invisible infrared light, which produces the heat. The red bulbs are supposed to be invisible to the snake even if humans can see it...