Sometimes I camp with people who pass out drinking beer and don't bother to clean up their trash before they go to bed. Since we are in black bear country, I was wondering if empty beer bottles can attract black bears.
This answer may depend on the type of bear, but somehow I doubt it.
If you ever visit Yosemite National Park, go to the Happy Isles Visitor Center. They have an old Jeep door on display. The Jeep had once belonged by a camper who left a tube of chap stick in their car as they slept.
A black bear smelled the chap stick inside the closed Jeep and ripped the door clean off the hinges to get to it.
Don't think about the beer bottles being "food". Think about bears being curious. Anything with a scent can attract a curious bear. Maybe your bear has never smelt an IPA before, and will need to investigate the rich scent of hops.
Take a quick look at the Yosemite National Park page on bear safety.