It's a well know effect callled "positional hypotension" which means low blood pressure when you sit up. It's because THC dilates blood vessels. It's the same reason it can raise your heart rate.

I think some varieties may be more likely to cause this than others. Also, your suceptability to this may be higher than average, either because you were tired, had low blood sugar, or just have poorer blood pressure control.