The Sun and the Moon have acted as the primary guiding lights for insects for millions of years. But artificial lights (especially outdoor lights) spread their light rays in all directions. Insects will fly over towards light as far as 120 meters away and thus, they get confused by which path to follow and blindly end up circling light bulbs until they run out of energy and eventually die out. This has caused a large decline in the insect population.
Insects have more sensitive eyes than compared to homo sapiens. When exposed to light, their eyes become saturated, resulting in temporary blindness.
At night, moths try to fly up towards the moon as a way of escapism, but instead they are distracted by artificial light surrounding them. Moths have really bad memory, which prevents them from being able to remember why they left the light in the first place.
A dark sky allows fireflies to use their lights to create patterns and communicate with others of their kind. However excessive outdoor lighting prevents them from being able to mate, defend territory, and warn predators away.
Fireflies have been facing a population decline because when they get attracted to light bulbs- they end up getting attacked by Amphibians there. This gives the other species an unfair and unnatural advantage.
Insects circling light become blind and weary, so when a bat attacks, they are unable to perform a 'last-ditch evasive maneuver', this creates an imbalance in the predator-prey relationship.