Wine bottles are often stored sideways to keep the cork moist and prevent it from drying out. When the cork dries out, it can shrink and allow air to enter the bottle, potentially spoiling the wine. Storing the bottle on its side ensures that the cork remains in contact with the wine, maintaining a seal and preserving the wine's quality over time. This practice is particularly important for wines that are meant to be aged for an extended period.