It seems likely to me that before replacing the windshield, the shop disconnected the battery as a safety precaution. As such, the car lost its FOB programming.
According to the information here:
Key FOB Instructions
Dealer programmed Hyundai keyless entry FOBs must be reprogrammed
after each vehicle or FOB battery replacement.
The procedure is:
Step 1 ...