Alligators are generally timid towards humans and tend to walk or swim away if a human comes near them. However, they will attack humans to protect their nests. In Florida, feeding wild alligators at any time is illegal. If fed, the alligators will eventually lose their fear of humans and will learn to associate humans with food, thereby becoming both a greater danger to people, and at greater risk from them.