marschw,
Heat is bad for just about anything except for certain foods (ex. - spare ribs, pasta, fresh bread, etc.).
The batteries that we use (for consumer electronics) store large amounts of energy. The energy is created chemically.
Entropy (randomness) is the normal state in the universe. Heat causes a breakdown of the desirable chemical bonds in the battery. Thus, there is less potential
for the creation of electricity. High temperatures quickly break down the capacity of the battery. Extremely high temperatures will permanently ruin a rechargeable battery.
Car interiors can easily exceed 100 degrees F. Direct sunlight will easily boost the temperatures to over 150 degrees F. Never leave a battery in direct sunlight. Cars can be very hot, especially in the glove compartment and areas exposed to intense sunlight.
Your car may be different, but it is cooler in my trunk (under some bags) or under my car seat.
Of course, test your emergency batteries frequently if they are in the car for long periods of time.
.