Yes, beer can go bad if it gets too warm then cold again. This is because the warm temperature can cause the beer to go flat, while the cold temperature can make the beer taste stale. If you want to keep your beer fresh, it's best to store it in a cool, dark place.