why did that just happen?

I just ate lunch like an hour ago. And I felt/feel just fine but like 10 minutes ago I burped and puke came up! It caught me so off guard I just swallowed and started choking a bit(gross I know). But my stomach still feels just fine. Any idea why that would happen?