Hornets are attracted to dead animals, whatever you have in your trash, sweet items, other pests, and a few other things that could be in and around your home. An open soda can left outside can often be seen with a hornet on it.