It's just the switching speed of the FETs. Depending on the inductance of the motor, you can get better driveability. Try both and see which one you like best while monitoring motor/ESC temps.
Usually, 8khz would be enough and probably ideal, but ya, depends on the motor really. The lower you can go without affecting driveability the better as there would be less switching and core losses.
“The modern astrophysical concept that ascribes the sun’s energy to thermonuclear reactions deep in the solar interior is contradicted by nearly every observable aspect of the sun.” —Ralph E. Juergens