Bugs attract security cameras for several reasons. They may include infrared light, heat emission, reflection, nesting spots, and pheromones. If a bug releases a pheromone on your camera, it may attract other bugs.