Your wine likely has high tannin levels and therefore high histamine levels. It is fairly common in red wines. You may want to try white wine. It is also possible you may be allergic to one or more components of the wine. High levels of sulfite (preservatives) found in most commercial wines also result in headaches. Wine from kits use very little sulfites (preservative) due to knowing when you made your wine.