no, this doesn't have anything to do with pregnant. Who knows what he was talking about. Maybe you had a residue of sweat, maybe you rubbed yourself with a mildewed towel, who knows. I wouldn't worry about this. Nothing related to pregnancy.
Although, do you have unprotected sex?