I would hope not. That would be unprofessional and super rude. You should ask him what’s so funny. Maybe it had nothing to do with the workout. Sometimes people laugh about random stuff at odd times. If they are laughing at you I would workout in a more positive and uplifting environment.