Bulbs do this when the glass gets compromised and the filament is exposed to outside air. It probably cracked somewhere in the base due to thermal expansion. Oxygen meets burning hot filament, material from said filament vaporises and deposits shit on the inner surface of the glass. 