Why do bugs not like lavender?

Online Answer
They love the flowers, but other bugs stay away. Lavender has a pleasant scent that comes from the essential oils in the leaves of the plant, but the bugs hate it.
Related Questions 📌
Effectively repellent essential oils include cinnamon oil, lemongrass oil, clove oil, peppermint oil, lavender oil, thyme oil, tea tree oil, and, finally, eucalyptus oil. In my experience, all or any of these oils have laid claim to both killing as well as repelling bed bugs.
Organic insecticidal soap works great for killing squash bugs and nymphs. You can also mix your own homemade spray using 1 tsp mild liquid soap to 1 liter of water (be sure to always spot-test sprays before using them on any plant). The these organic sprays will kill most of the squash bugs on contact..
Spread crushed eggshells beneath the targeted plants and creepy-crawlies will move along. Make A Stink: Many aromatic herbs, like yarrow, citronella, mint, fennel, catnip, basil, and lemongrass are natural deterrents for garden pests from aphids to potato beetles..
Corn on the Cob: Recently, kashrus agencies have reported finding insects in corn on the cob. When the husk is removed, these insects scurry inside in between the niblets. Frozen corn on the cob and canned corn do not appear to have a problem. ... If insects or worms are found there, discard the corn..
Neem Oil SprayNeem Oil Spray Neem oil is one of the most widely useful natural insecticides. It's pressed from seeds of the tropical neem tree (​Azadirachta indica​), and it's effective against Colorado potato beetles, leafhoppers, aphids and many other pests.