Make sure you are connected to the internet and your device is having enough free storage space when downloading media from whatsapp and if there is no storage space then download pending will appear and trying clearing cache will help you resolve the issue.