I think Trump made a joke, and Gianforte isn't any more Trump's kind of guy than any rally for any other Republican Trump is campaigning for.

The audience at the rally laughed because it wasn't serious. It was basically ribbing Gianforte for something dumb he did, that he had already been convicted and apologized to the Court for, a year before Trump ever campaigned for him.