Questions regarding blender textures and importing

In some cases, I can import the model from blender to studio and the textures are imported as well. Other time I have to manually upload a png of the texture to the decals section of the create page and fill it in to the “textureID” section. What am I doing that makes thee texture import with the model?