Check the wiring in the fixture, check the connections (riveted) at the socket base and look for vibration causes (doors). Older fixtures and those that have bulbs that are larger than the fixture is rated for will ruin the fixture wiring and cause the riveted socket connections to loosen.
Bob