Laughing while being tickled is actually a panic response from your body.
It is part of the same response when you unexpectedly feel something like an insect crawling up your leg.
.