The hub on the Trek is direct drive, which is why it was quieter but why you also noticed some drag stopping you getting above 30mph.
The hub on the KTM is geared, so a bit noisier as the motor runs at a higher rpm and you can hear the gears. It also incorporates a freewheel which makes it...