Think about it:

The bigger the hit = more smoke in lungs

more smoke in lungs = more THC in lungs

more THC in lungs = the higher you are


It's not the coughing that's getting you higher, it's cause you took a lot of smoke in.