You probably cough because the smoke you get from a joint is a lot hotter (no water, very short distance to travel an cool) and you're also getting the smoke from the paper, which is nasty stuff.