Apparently, if we use liquid detergent ALL the time in our washing machines, we can get a build up of scum in the drum, and that makes our clothes smell!
A repair man told me that years ago, so, now, I use both, sometimes powder, sometimes liquid, just to stop that happening.
Also, we should do a machine clean every month.!
I use bleach, or bleach tablets to do that.
But I also pop a bleach tablet in when I wash my white towels, keeps them really white, and cleans the machine too.