Bitcoin sendfrom and sendtoaddress
According to the Bitcoin core developers reference, SendFrom is deprecated and you should use SendToAddress or SendMany instead.

Note that SendFrom sends from an account not from an address. The Account feature is being removed from Bitcoin core.

I assume the (HD) wallet rummages around for suitable UTXOs to use as inputs to the transaction.