You need to drag and drop the unit into the transport. A rightclick on the transport unloads the units. However the if you put units in the transport they need to have a movement point left to do that.