My money's on postural hypotension- a normal reaction to your body adjusting its blood pressure, to ensure blood flow is maintained to the brain, as your posture changes.
The solution to the problem is to get up slowly, allowing your body a little time to adjust.
The usual warning- go and see the doc if your worried.