When you borrow money from a 401k, investments in your 401k account are sold so cash can be distributed to you upfront.