Thanks for sharing this experience. This has happened to me a number of times (while diving and mountaineering). This is often caused by not getting enough air, or situational anxiety (which can be a natural reaction to a situation).
I've found that Divers will often experience these symptoms when their anxiety increases as a result of: increased levels of narcosis, going into an overhead environment, or when visibility is unexpectedly reduced. I talk about this in detail during student preparation for these environments.
I've found that Divers will often experience these symptoms when their anxiety increases as a result of: increased levels of narcosis, going into an overhead environment, or when visibility is unexpectedly reduced. I talk about this in detail during student preparation for these environments.