You have to eject a USB before disconnecting because of a process known as “write caching.” This is where data may still be pending in the random-access memory, or RAM, of the USB.