Run through the steps here
https://www.ajtek.ca/wsus/client-machines-not-reporting-to-wsus-properly/
First delete the computer from WSUS and run the client side script - if it is still a problem, run down the troubleshooting list from top to bottom to diagnose it.