Why hypoxia causing agitation?

Hypoxia creates a sensation described variously as 'suffocating' or 'choking'. Both sensations are agitating.