Answer:
When you spin around rapidly, that liquid in the inner ear spins as well. When you stop spinning the liquid keeps moving for a bit, confusing your brain into thinking that you're still spinning even when you're standing still - and that makes you feel dizzy.