The answer to 'what attracts stink bug' is that stink bugs are attracted to a variety of things, including the scent of ripe fruit, vegetables, and plants, as well as the warmth and shelter provided by homes and other buildings. Stink bugs are also drawn to light sources, which can lead them to congregate around windows and doors.
Stink bugs typically become a problem in late summer and fall as they search for places to overwinter. They may enter homes through cracks and crevices, and can become a nuisance as they gather in large numbers. While stink bugs do not pose a direct threat to humans, they can release a foul-smelling odor when disturbed or crushed.