Exposing a bottle of wine to high temperatures for an extended period can affect the quality of the wine as it ages. It is crucial to store your wine where the temperature is between 53-57°F. However, once the temperature reaches 75°F or higher, the wine falls into the danger zone.
While high-quality wines can withstand higher temperatures, cheaper wines are affected and often left in worse conditions. A bottle of wine was likely stored in a warm area if you notice the cork bulging out of the bottle. You can store your wine in a refrigerator to slow down the aging process and prevent it from spoiling.
Source: Wine Mag, October 2019