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 Sit in the driver's seat of your Hyundai vehicle. Close all of
the vehicle's doors behind you.
Step 2 Stick the key to your Hyundai into the vehicle's ignition
cylinder. Turn the key to the "ACC" or "Accessory" ignition position.
Hold down the "Open" or "Unlock" button on the keyless entry FOB until
the vehicle's lights flash. The keyless entry FOB is now reprogrammed
to your Hyundai vehicle.