Paint is coming off the roof of car.
Is there any kind of original warranty left on the car, as outlined in your owners manual? I’m not familiar with Hyundai’s warranty on paint, etc.
Otherwise, you might need to check with a body shop to see about getting the hood repainted.
Click on the link below. It seems that there are complaints for several years of Hyundai Sonata for peeling paint. Click on the year and see how many there are. Not a huge number, but you are not alone.