Question: are bugs attracted to heat?
Answer: They're just enjoying their time like you do at the beach. These insects were attracted by the heat in a cool night. Finally, many insects (and a myriad of other animals) are attracted by light bulbs at night because they're popular.