@Rayznar not completely sure about if this is the case, but I work out and my clothes used to almost smell like a wet sock whenever I sweat making me smell really bad.
I thought I just had to deal with it, but apparently, when you workout with clothes made of synthetic fiber, bacteria stays in your clothes so you need to get it killed with stuff like white vinegar before getting it washed in the laundry normally.
Maybe there's some truth to what Suzu said and the only reason it stinked so much is because of your clothes having that bacteria, not completely sure