All input power to VFD,s, whether AC or DC is rectified to DC and filtered smooth. As a result, phasing on the input leads is irrelevant as it all ends up as smooth DC.
The output of the VFD is NEW AC, created from the DC bus. That's why the output frequency can change with respect to the input.