Lamplighters' jobs disappeared due to the popularization of electricity in cities.
What other reasons can be cited?
Technological advancement.
Optimizing energy sources.
Automation.
Lamplighters' jobs required people to turn on public lighting manually. This ended when electricity began to take up space in people's lives and public lighting was optimized and automated, becoming safer, faster and more efficient without the need to be operated manually.