They attack us because we treat them like shit.
You may have a point, as they have probably been raised for thousands of years, that those things can hurt/kill you. With all of the hunters out there.
Although, they will eat your ass, so humans can't taste that bad to them.
I just love the tree-hugging morons that try to live with tigers, lions, and bears. Sure, they will act like your best friend, until they aren't, and your severely mauled or dead. And I think some attacks get a bad rap. Let's say you raise tiger from a cub. It's basically a housecat for awhile. So it playfully swipes at you when it's a baby, the it becomes a teenager or full grown. Then those playful swipes can rip your face off. With some of the time, its not an actual attack on the person, but the cat playing around, not knowing it's true power. It thinks it good Ole fooling around.
Try that with a bear too. A chimpanzee will rip your face off.