Weed can make you nauseous pretty easily if you get too high, even though it usually helps to treat it. THC and CBD are very much biphasic, effects aren't just stronger at high doses, they're completely different than low dose effects.
The only time weed on it's own is going to make you throw up regards cannabis hyperemesis syndrome. Most of the time, the stomach pain is from the irritating nature of smoke on the body's inner organs-- most especially when you manage to swallow smoke/vapor into your stomach rather than inhale it into your lungs.
In your average person that doesn't smoke heavily and thus shouldn't suffer from CHS, cannabis alone wouldn't make them nauseous. A sudden change in blood sugar or improper inhalation will definitely do it, but cannabis per se` isn't to blame for that.
Any swallowed smoke/vapor can fuck your stomach up; from a cigarette to a cigar to a joint to a forest fire, it's the smoke/vapor to blame and not the psychoactives held within.... and even if you do properly inhale but you just take way too big of a hit, an intense coughing fit can induce the urge to vomit and lead to a lingering nausea for an hour or two. Again, that's not due to the drugs, that's on account of your body's physical reaction to pushing the limits of your lung capacity with something other than the air we breathe.
If OP's a long-term cannabis enthusiast, he may want to look into the possibility of suffering from CHS. It's rare as fuck, relatively recently discovered, but typically last for longer than a sole minute and not much is known about it (or rather, I don't know much about it other than a basic understanding.) If you're new to cannabis, I'd try a different route of ingestion (or even just a different pen) and see if you get the same nauseous results. Then you'll know whether it's the pot/concentrates to blame or the pen, and be able to adjust your vaping and smoking habits accordingly.