Why do I see black spots when I cough?

Why do I see black spots when I cough? The pressure of squeezing your eyes shut while sneezing or coughing can cause the visual of seeing stars to emerge. ‌‌Rubbing your eyes. When you rub your eyes, you apply pressure to them. You may temporarily see stars after this action.

The pressure of squeezing your eyes shut while sneezing or coughing can cause the visual of seeing stars to emerge. ‌‌Rubbing your eyes. When you rub your eyes, you apply pressure to them. You may temporarily see stars after this action.