Melting point of tungsten = 3,422∘ C
In order to make tungsten filament glow, it is made very thin so that its resistance becomes very high causing emission of a lot of energy and the temperature of filament rises to a very high temperature and it starts glowing. At such a temperature, tungsten is prone to oxidation and so it is covered with glass or quartz bulb to prevent oxidation.
Then why not the coil of heater is covered as it also becomes enough hot to warm a room, don't it may get fire
Two facts should be considered here:
1)The temperature of the element in bulb is higher (2500∘ C) as compared to heating element of a toaster or a heater (usually 1500∘ C)
2)The heating element is made from nichrome while bulb filament is tungsten (both having different susceptibility to oxidation)