Red wine contains Flavonoids which in small amounts do not really do anything but when consummed at a certain level can do what you speak of depending on what and how much you have in your stomach. Here is the definition of flavonoids and what they have to offer for us and the little effects they conatin.
Flavonoids (or bioflavonoids) are a class of plant secondary metabolites. Flavonoids are most commonly known for their antioxidant activity. However, it is now known that the health benefits they provide against cancer and heart disease are the result of other mechanisms. Flavonoids are also commonly referred to as bioflavonoids in the media – the terms are largely equivalent and interchangeable, for most flavonoids are biological in origin. Biological effects
Flavonoids are widely distributed in plants fulfilling many functions including producing yellow or red/blue pigmentation in flowers and protection from attack by microbes and insects. The widespread distribution of flavonoids, their variety and their relatively low toxicity compared to other active plant compounds (for instance alkaloids) mean that many animals, including humans, ingest significant quantities in their diet. Flavonoids have been referred to as "nature's biological response modifiers" because of strong experimental evidence of their inherent ability to modify the body's reaction to allergens, viruses, and carcinogens. They show anti-allergic, anti-inflammatory , anti-microbial and anti-cancer activity.
Consumers and food manufacturers have become interested in flavonoids for their medicinal properties, especially their potential role in the prevention of cancers and cardiovascular disease. The beneficial effects of fruit, vegetables, and tea or even red wine have been attributed to flavonoid compounds rather than to known nutrients and vitamins