Bears are attracted to food sources like garbage and rotting fruit. 