When you upload media to your project, thumbnails for each media file are created after the file is uploaded.
Please note it may take between a few seconds and a couple minutes for your thumbnail to appear, depending on system load.
If you are an app developer see how to upload a thumbnail in the Shotgun API and a technical overview of shotgunEvents to work with thumbnails.