are you sure it is a petechiae in your eye and not a tiny subconjunctival hemorrhage? hard coughing common in uncontrolled asthma can cause an innocent capillary rupture/hemorrhage in the conjunctiva but not really true petechiae (these occur on skin surfaces).
can an asthma attack cause petechiae of the eye