This could occur in wooded or brushy areas near lagoons. Feeding alligators is illegal for a good reason. If an alligator sees humans as a source of food, it stands to reason it will approach humans. Alligators lack social skills - they won't ask nicely for a handout. Never, ever, let small children or pets play in lagoons or on the banks of lagoons.
Alligators are so fast a pet can vanish before it's owner can take a deep breath.
If you catch a fish in a lagoon and an alligator wants it, give it up. Reeling in the fish close to you is a very bad idea, as the alligator will see you as competition for food. If someone tells you there are no alligators in a given lagoon all they have done is display their ignorance about alligators. Alligators move around and frequently relocate. There have been very rare instances of alligators at the beach.