Differing coefficients of expansion.
Incandescent light bulbs need a wire is needed to carry the electrical current inside the bulb to the tungsten filament and get very hot when operating.
The bulb is filled with inert gas to prevent the filament from burning (no oxygen) , so a good seal is needed between the glass and the wire. If the wire and the glass expanded at different rates, the seal would be broken.
Brass expands at
Since both the glass and the platinum move at the same rate, the seal between then is undamaged.